aspose file tools*
The moose likes Struts and the fly likes How to implement Role Based Access Control with Authentication in Struts1? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to implement Role Based Access Control with Authentication in Struts1?" Watch "How to implement Role Based Access Control with Authentication in Struts1?" New topic
Author

How to implement Role Based Access Control with Authentication in Struts1?

Vidya Gupta
Ranch Hand

Joined: Mar 18, 2012
Posts: 98

Hi,

Can any one tell me how to implement role based access to an application using struts1... I mean, based on the person who logs in the application should display the jsp's. Please tell me in implementing this requirement.

Thanks&Regards,
Vidya
Sumit Patil
Ranch Hand

Joined: May 25, 2009
Posts: 296

You can use Apache Shiro

Or use container level authentication.
For tomcat see this example


Thanks & Regards, Sumeet
SCJP 1.4, SCWCD 5, LinkedIn Profile
Vidya Gupta
Ranch Hand

Joined: Mar 18, 2012
Posts: 98

Thanks for the reply sumit.. Am not using tomcat in my application. Am using jboss. And i don't know anything about role based access control in struts1. plesae provide me any links or any examples to learn. please..
Sumit Patil
Ranch Hand

Joined: May 25, 2009
Posts: 296

See Jboss documentation

Here

and

here

One example for your reference
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to implement Role Based Access Control with Authentication in Struts1?