File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<login-config> tag not working for Tomcat server

 
Rajkumar Masanaiyan
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the below mentioned DD, I had added the <login-config> and invoked the jsp page. While the page comes up, the Tomcat server doesn't prompt for user name and password. I have pasted tomcat-user.xml at the bottom for reference. Would you please let me know what went wrong?




 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do not you need to add the constraint?

 
Miku Ranjan
Ranch Hand
Posts: 98
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can some one give some idea to me what is this tag used for.
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To detail the URL that you will protect.
 
Rajkumar Masanaiyan
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to only authentication. I am not trying to use that for authorization. Can't I do that?
 
Rajkumar Masanaiyan
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rajkumar Masanaiyan wrote:I am trying to only authentication. I am not trying to use that for authorization. Can't I do that?


Based on my experiement, authentication and authorization works only together. Authentication can't be enabled seperately.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic