wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Using Realms for access controll with multiple roles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Using Realms for access controll with multiple roles" Watch "Using Realms for access controll with multiple roles" New topic
Author

Using Realms for access controll with multiple roles

Tor Henning Post
Greenhorn

Joined: Nov 14, 2003
Posts: 11
Hello everyone!

I have a Webapp where i have pages ment for users and pages ment for administrators. Is there a way i can configure tomcat realms to perform access controll on pages based on roles in the same webapp.

e.g i want too have an admin page and only users with the role admin can access this page. all other pages can be accessed by users with role user.

So far i can only figure out how to specify one set of resources.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using Realms for access controll with multiple roles