Uses of Class
org.apache.wicket.authroles.authorization.strategies.role.Roles
-
-
Uses of Roles in org.apache.wicket.authroles.authentication
Methods in org.apache.wicket.authroles.authentication that return Roles Modifier and Type Method Description abstract Roles
AbstractAuthenticatedWebSession. getRoles()
Methods in org.apache.wicket.authroles.authentication with parameters of type Roles Modifier and Type Method Description boolean
AuthenticatedWebApplication. hasAnyRole(Roles roles)
-
Uses of Roles in org.apache.wicket.authroles.authorization.strategies.role
Methods in org.apache.wicket.authroles.authorization.strategies.role with parameters of type Roles Modifier and Type Method Description boolean
Roles. hasAllRoles(Roles roles)
Whether this roles object contains all the provided roles.protected boolean
AbstractRoleAuthorizationStrategy. hasAny(Roles roles)
Gets whether any of the given roles applies to the authorizer.boolean
IRoleCheckingStrategy. hasAnyRole(Roles roles)
Whether any of the given roles matches.boolean
Roles. hasAnyRole(Roles roles)
Whether this roles object contains any of the provided roles.protected boolean
AbstractRoleAuthorizationStrategy. isEmpty(Roles roles)
Conducts a check to see if the roles object is empty. -
Uses of Roles in org.apache.wicket.authroles.authorization.strategies.role.metadata
Methods in org.apache.wicket.authroles.authorization.strategies.role.metadata that return Roles Modifier and Type Method Description <T extends IRequestableComponent>
RolesInstantiationPermissions. authorizedRoles(Class<T> componentClass)
Gets the roles that have a binding with the given component class.Roles
ActionPermissions. rolesFor(Action action)
Gets the roles that have a binding for the given action.Methods in org.apache.wicket.authroles.authorization.strategies.role.metadata that return types with arguments of type Roles Modifier and Type Method Description protected Map<Class<? extends Component>,Roles>
InstantiationPermissions. getRolesForComponentClass()
Methods in org.apache.wicket.authroles.authorization.strategies.role.metadata with parameters of type Roles Modifier and Type Method Description void
ActionPermissions. authorize(Action action, Roles rolesToAdd)
Gives permission for the given roles to perform the given action<T extends Component>
voidInstantiationPermissions. authorize(Class<T> componentClass, Roles rolesToAdd)
Gives the given role permission to instantiate the given class.void
ActionPermissions. unauthorize(Action action, Roles rolesToRemove)
Remove the given authorized role from an action.<T extends Component>
voidInstantiationPermissions. unauthorize(Class<T> componentClass, Roles rolesToRemove)
Removes permission for the given role to instantiate the given class.
-