public class UserRolesAuthorizer extends Object implements IRoleCheckingStrategy
org.apache.wicket.authorization.strategies.role.annotations.AnnotationsRoleAuthorizationStrategy
.Constructor and Description |
---|
UserRolesAuthorizer()
Construct.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasAnyRole(Roles roles)
Whether any of the given roles matches.
|
public boolean hasAnyRole(Roles roles)
IRoleCheckingStrategy
hasAnyRole
in interface IRoleCheckingStrategy
roles
- the rolesorg.apache.wicket.authorization.strategies.role.IRoleCheckingStrategy#hasAnyRole(Roles)
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.