This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes How to Authorize Struts based application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to Authorize Struts based application" Watch "How to Authorize Struts based application" New topic
Author

How to Authorize Struts based application

Sunny Gupta
Greenhorn

Joined: Apr 13, 2005
Posts: 15
hi Guys
i am working on a web based HR application in which we are using struts.
We have different views for HR , employee,manager ,contractor and intern depending one the roles they have .
Different degree of information is viewed by different roles by the same link.
For eg. View All Employees
hr can view all the details of all employees ,
a employee can view his whole details and restricted details for others
A manager will view all details of employees under him and restricted of others
Can u suggest ways to implement it
Thanks


SG
Pranav Sharma
Ranch Hand

Joined: Oct 27, 2003
Posts: 256
this tip from ted husted should help
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Authorize Struts based application
 
Similar Threads
Pls recommend a security pattern to use
Designing a privileges based system
Difference between "Groups" and "Roles"?
how to call a jsp function with in a hyperlink
Polymorphism or generics