My requirement is the following: We have an application that uses roles lets said (ADMIN/USER/GUEST), depending on the role they can access to different sections on the application. However in an specific section, some of them can see some actions/options/buttons/tabs, it means for two ADMIN users, the configuration of the screen and available option could be different.
I was reading about DomainACL in spring security and spring-security permissions, I believe use DomainACL is not what I need to cover this requirement as I don't need to have object granular security.
My question is there is specific out-of-the box feature of spring-security that can solve this requirement that I don't know, taking in consideration that I need to add some java tags in the jsp to remove buttons/controls from the UI. Other question is : permissions without DomainACL will be enough to solve this requirement or I am missing something.
Basically I need to save actions that can be executed for some users + the role of the users, lets said that I want to store in the database the permissions as "EXECUTE SEARCH", "VIEW_USER_TAB".
- ADMIN / peter / "EXECUTE SEARCH", "VIEW_USER_TAB"
- ADMIN / sarah / "EXECUTE SEARCH"
- USER / john / "VIEW_USER_TAB"
I'm using spring-security3.2 and jsp pages as my view technology.