File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Role Based authentication-Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Role Based authentication-Tomcat" Watch "Role Based authentication-Tomcat" New topic

Role Based authentication-Tomcat

Atul Mishra
Ranch Hand

Joined: Jun 08, 2006
Posts: 140

I have a requirement to configure a Role based authentication in Tomcat. The requirement is,
if user a with role 1 logs in-he should see page1.jsp and
if user b with role 2 logs in he should see page2.jsp -

How to achieve this ?

I guess I should configure a realm. But displaying 2 pages based on different roles how do I achieve that ? Any links anyone please provide

I agree. Here's the link:
subject: Role Based authentication-Tomcat
It's not a secret anymore!