Interface RolePermissionMapper
- All Known Subinterfaces:
MutableRolePermissionMapper
- All Known Implementing Classes:
ClusterPermissionMapper
public interface RolePermissionMapper
Maps roles to permissions
- Since:
- 14.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleandefault voidsetContext(AuthorizationMapperContext context) Sets the context for thisRolePermissionMapper
-
Method Details
-
setContext
Sets the context for thisRolePermissionMapper- Parameters:
context- the authorization mapper context
-
getRole
-
getAllRoles
-
hasRole
- Parameters:
name- the name of the role- Returns:
- whether this permission mapper contains the named role
-