File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Creating new roles in RBAC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Creating new roles in RBAC" Watch "Creating new roles in RBAC" New topic

Creating new roles in RBAC

RamandeepS Singh
Ranch Hand

Joined: Aug 25, 2009
Posts: 63

Is there any security framework like apache shiro or Spring security which allows adding new roles and giving them priviliges


i have 2 roles in my Database

and my application is running and the administrator of the application wants to add a new role EMPLOYEE and allow that role to access some URLs of the USER role
so via application administrator of the application will be able to add new role

Thanks in Advance

Ramandeep Singh
Balaji Vankadaru
Ranch Hand

Joined: May 31, 2013
Posts: 48
Yes Using spring security its possible to create access for particular resource.

In spring security you can define the access to a particular resource having a particular role.

All the definitions can be configured in spring-security.xml
I agree. Here's the link:
subject: Creating new roles in RBAC
It's not a secret anymore!