-
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<String>, Collection<String>, Set<String>, org.apache.wicket.util.io.IClusterable
public class UserPrincipalRoles
extends org.apache.wicket.authroles.authorization.strategies.role.Roles
Implementation of Roles class that use the servlet 3 request object to
determine the current user roles.
- Author:
- jsarman
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.wicket.authroles.authorization.strategies.role.Roles
ADMIN, USER
-
Method Summary
Methods
Modifier and Type |
Method and Description |
boolean |
hasAllRoles(org.apache.wicket.authroles.authorization.strategies.role.Roles roles) |
boolean |
hasAnyRole(org.apache.wicket.authroles.authorization.strategies.role.Roles roles) |
boolean |
hasRole(String role) |
-
Methods inherited from class org.apache.wicket.authroles.authorization.strategies.role.Roles
toString
Copyright © 2015. All rights reserved.