|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.examples.authorization.UserRolesAuthorizer
public class UserRolesAuthorizer
The authorizer we need to provide to the authorization strategy implementation
org.apache.wicket.authorization.strategies.role.annotations.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 IRoleCheckingStrategyroles - the roles
org.apache.wicket.authorization.strategies.role.IRoleCheckingStrategy#hasAnyRole(Roles)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||