• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating new roles in RBAC

 
RamandeepS Singh
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic