Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

web.xml <security-constraint> accept any role  RSS feed

 
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
Boost this thread!