File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Vidya Gupta
Ranch Hand
Posts: 98
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 296
Eclipse IDE Firefox Browser Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use Apache Shiro

Or use container level authentication.
For tomcat see this example
 
Vidya Gupta
Ranch Hand
Posts: 98
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 296
Eclipse IDE Firefox Browser Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See Jboss documentation

Here

and

here

One example for your reference
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic