|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.examples.authorization.UserRolesAuthorizer
public class UserRolesAuthorizer
The authorizer we need to provide to the authorization strategy implementation
AnnotationsRoleAuthorizationStrategy
.
Constructor Summary | |
---|---|
UserRolesAuthorizer()
Construct. |
Method Summary | |
---|---|
boolean |
hasAnyRole(Roles roles)
Whether any of the given roles matches. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserRolesAuthorizer()
Method Detail |
---|
public boolean hasAnyRole(Roles roles)
IRoleCheckingStrategy
hasAnyRole
in interface IRoleCheckingStrategy
roles
- the roles
IRoleCheckingStrategy.hasAnyRole(Roles)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |