Package org.infinispan.security
Interface MutableRolePermissionMapper
- All Superinterfaces:
RolePermissionMapper
- All Known Implementing Classes:
ClusterPermissionMapper
A
RolePermissionMapper
with the ability to add/remove roles at runtime- Since:
- 14.0
-
Method Summary
Methods inherited from interface org.infinispan.security.RolePermissionMapper
getAllRoles, getRole, hasRole, setContext
-
Method Details
-
addRole
Adds a new role- Parameters:
role
- the role
-
removeRole
Removes a role- Parameters:
role
- the name of the role to be removed- Returns:
- true if a role with the supplied name was found and removed
-