wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Creating new roles in RBAC" Watch "Creating new roles in RBAC" New topic
Author

Creating new roles in RBAC

RamandeepS Singh
Ranch Hand

Joined: Aug 25, 2009
Posts: 63
Hi

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

Example

i have 2 roles in my Database
1) ADMIN
2) USER

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: 47
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: http://aspose.com/file-tools
 
subject: Creating new roles in RBAC
 
Similar Threads
Web Container authorization
Don't understand defining roles in HFJS book
Spring 3 and 2-way ssl
Security roles in web.xml
How to configure Tomcat for authentication against Active Directory of Windows Server 2003