public abstract class AbstractRoleAuthorizationStrategy extends Object implements IAuthorizationStrategy
role.IRoleCheckingStrategy.ALLOW_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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisActionAuthorized, isInstantiationAuthorizedpublic 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-2012 Apache Software Foundation. All Rights Reserved.