This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
Ranch Hand

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

 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: web.xml <security-constraint> accept any role
 
It's not a secret anymore!