my dog learned polymorphism*
The moose likes Security and the fly likes web.xml <security-constraint> accept any role Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "web.xml <security-constraint> accept any role" Watch "web.xml <security-constraint> accept any role" New topic
Author

web.xml <security-constraint> accept any role

Mike Nason
Greenhorn

Joined: Apr 19, 2006
Posts: 20
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.


Wanna code??
Alexander Curvers
Greenhorn

Joined: Apr 03, 2009
Posts: 26
im no expert on this, but this seems correct, did you define the roles too in the web.xml ? or they wont work

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web.xml <security-constraint> accept any role
 
Similar Threads
Tips on form-based authetication
Get Error messages/Exceptions from Active Directory Server(ADS) with Weblogic 9.2
EJB and Security (JAAS)
related to auth constraint
Marcus Green Quiz 1 - Mock Exam Question Doubt