Meaningless Drivel is fun!*
The moose likes Spring and the fly likes Screen level and field level rules implementation Spring MVC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Screen level and field level rules implementation Spring MVC" Watch "Screen level and field level rules implementation Spring MVC" New topic
Author

Screen level and field level rules implementation Spring MVC

pawan chopra
Ranch Hand

Joined: Jan 23, 2008
Posts: 410

My web application is using Spring MVC. Each user has multiple roles. Each role has an access level.The access level defines whether user has access to particular screen or not. Also it defines that on a particular screen which fields it can modify, so based on access level a field can be disabled or enabled.

The relationship between access level, screen and fields is defined in a table right now. Which is really complicated and the only way to Add, remove , update is through scripts.

Can anybody suggest me some other way to do this?


Pawan Chopra
SCJP - DuMmIeS mInD
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1648
    
    7

Have you looked at Spring Security? They also have tag libs that I think will help you.


[How To Ask Questions][Read before you PM me]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Screen level and field level rules implementation Spring MVC
 
Similar Threads
Field Level Security
Threading issue in serlets - Urgent
FBN: MVC pattern without Model Class
Controlling Access to Form fields?
Flex 4 in Action questions.