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-
-
getRole
-
getAllRoles
-
hasRole
- Parameters:
name-- Returns:
- whether this permission mapper contains the named role
-