Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<login-config> tag not working for Tomcat server

 
Rajkumar Masanaiyan
Greenhorn
Posts: 24
  • 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
  • Likes 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
  • 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
 
Rajkumar Masanaiyan
Greenhorn
Posts: 24
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic