aspose file tools
The moose likes Struts and the fly likes Field level security Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Field level security" Watch "Field level security" New topic
Author

Field level security

ganesh narayana
Greenhorn

Joined: Sep 10, 2005
Posts: 7
Hi,

my project,we already have roles based page level security implemented, now we have a requirement of developing field level security. we used struts for our project.

can any one suggest the better approach for implementing the field level security?
Prasad Tamirisa
Ranch Hand

Joined: Mar 26, 2007
Posts: 130
What do you mean field level security?? Did you mean, a particular user should be able to look at his customized fields??


Regards,
Durga Prasad
Prasad Tamirisa
Ranch Hand

Joined: Mar 26, 2007
Posts: 130
can any one suggest the better approach for implementing the field level security?


Maintain the user attribute at a session scope and display the fields to the user based on the role of the user.

We have implemented this in my project by making the use of struts <Logic:equal> and <Logic:notequal> tags.
ganesh narayana
Greenhorn

Joined: Sep 10, 2005
Posts: 7
i mean, selective hiding or locking fields based on user roles. for few roles i want to hide few columns, for few roles i want to display fields as readonly!! can you suggest please.

Thanks in advance
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by ganesh narayana:
we used struts for our project.


Since Struts has a lot of features of its own, I'm going to move this to our Struts forum.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Field level security
 
Similar Threads
In struts2
Security Role in Depoyemnt descriptors?
Previleges to user id in J2EE
Extending Struts Tags
requesting suggestions on topics for project on network security using Java(final year project)