- <init>
Constructor that accepts the Realms to consult during an authorization check.
Immediately calls #set
- setRealms
Sets the realms wrapped by this Authorizer which are consulted during an
authorization check.
- applyPermissionResolverToRealms
Sets the internal #getPermissionResolver on any internal configured #getRealms
that implement the or
- applyRolePermissionResolverToRealms
Sets the internal #getRolePermissionResolver on any internal configured
#getRealms that implement th
- assertRealmsConfigured
Used by the Authorizer implementation methods to ensure that the #setRealmshas
been set. The default
- checkPermission
If ! #isPermitted(org.apache.shiro.subject.PrincipalCollection,Permission),
throws an UnauthorizedEx
- checkRole
If ! #hasRole(org.apache.shiro.subject.PrincipalCollection,String), throws an
UnauthorizedException
- checkRoles
Calls #checkRole(org.apache.shiro.subject.PrincipalCollection,String) for each
role specified.
- getPermissionResolver
Returns the PermissionResolver to be used on all configured realms, or null
- getRealms
Returns the realms wrapped by this Authorizer which are consulted during an
authorization check.
- getRolePermissionResolver
Returns the RolePermissionResolver to be used on all configured realms, or null
- hasRole
Returns true if any of the configured realms'
#hasRole(org.apache.shiro.subject.PrincipalCollection,