public abstract class AbstractRoleAuthorizationStrategy extends IAuthorizationStrategy.AllowAllAuthorizationStrategy
IRoleCheckingStrategy.IAuthorizationStrategy.AllowAllAuthorizationStrategyALLOW_ALL| Constructor and Description |
|---|
AbstractRoleAuthorizationStrategy(IRoleCheckingStrategy roleCheckingStrategy)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
hasAny(Roles roles)
Gets whether any of the given roles applies to the authorizer.
|
protected boolean |
isEmpty(Roles roles)
Conducts a check to see if the roles object is empty.
|
isActionAuthorized, isInstantiationAuthorized, isResourceAuthorizedpublic AbstractRoleAuthorizationStrategy(IRoleCheckingStrategy roleCheckingStrategy)
roleCheckingStrategy - the authorizer delegateprotected final boolean hasAny(Roles roles)
roles - the rolesprotected final boolean isEmpty(Roles roles)
roles - the Roles object to testCopyright © 2006–2015 Apache Software Foundation. All rights reserved.