Class UserPrincipalRoles
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<String>
org.apache.wicket.authroles.authorization.strategies.role.Roles
org.wicketstuff.wicket.servlet3.auth.UserPrincipalRoles
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<String>,Collection<String>,Set<String>,IClusterable
Implementation of Roles class that use the servlet 3 request object to
determine the current user roles.
- Author:
- jsarman
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanhasAllRoles(Roles roles) final booleanhasAnyRole(Roles roles) final booleanMethods inherited from class org.apache.wicket.authroles.authorization.strategies.role.Roles
toStringMethods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size, spliterator, toArray, toArrayMethods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAllMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
UserPrincipalRoles
public UserPrincipalRoles()
-
-
Method Details
-
hasAllRoles
- Overrides:
hasAllRolesin classRoles
-
hasAnyRole
- Overrides:
hasAnyRolein classRoles
-
hasRole
-