|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.authroles.authorization.strategies.role.AbstractRoleAuthorizationStrategy
public abstract class AbstractRoleAuthorizationStrategy
Base strategy that uses an instance of
org.apache.wicket.authorization.strategies.role.IRoleCheckingStrategy
.
Field Summary |
---|
Fields inherited from interface org.apache.wicket.authorization.IAuthorizationStrategy |
---|
ALLOW_ALL |
Constructor Summary | |
---|---|
AbstractRoleAuthorizationStrategy(IRoleCheckingStrategy roleCheckingStrategy)
Construct. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.wicket.authorization.IAuthorizationStrategy |
---|
isActionAuthorized, isInstantiationAuthorized |
Constructor Detail |
---|
public AbstractRoleAuthorizationStrategy(IRoleCheckingStrategy roleCheckingStrategy)
roleCheckingStrategy
- the authorizer delegateMethod Detail |
---|
protected final boolean hasAny(Roles roles)
roles
- the roles
protected final boolean isEmpty(Roles roles)
roles
- the Roles object to test
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |