Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web.xml <security-constraint> accept any role

 
Mike Nason
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!
We are using LDAP authentication, so when user enter Active Directory user/pass he is able to view jsp page.


I need all users(any role users) that authenticated successfully using LDAP will be able to process to site, so I am able to show apropriate content based on their roles.
How can I configure security-constraint to allow any role get in?
<role-name>*</role-name> doesn't work!
Thanks.
 
Alexander Curvers
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
im no expert on this, but this seems correct, did you define the roles too in the web.xml ? or they wont work

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic