| Modifier and Type | Method and Description |
|---|---|
abstract Roles |
AbstractAuthenticatedWebSession.getRoles() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AuthenticatedWebApplication.hasAnyRole(Roles roles) |
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends org.apache.wicket.request.component.IRequestableComponent> |
InstantiationPermissions.authorizedRoles(Class<T> componentClass)
Gets the roles that have a binding with the given component class.
|
Roles |
ActionPermissions.rolesFor(org.apache.wicket.authorization.Action action)
Gets the roles that have a binding for the given action.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<Class<? extends org.apache.wicket.Component>,Roles> |
InstantiationPermissions.getRolesForComponentClass() |
| Modifier and Type | Method and Description |
|---|---|
void |
ActionPermissions.authorize(org.apache.wicket.authorization.Action action,
Roles rolesToAdd)
Gives permission for the given roles to perform the given action
|
<T extends org.apache.wicket.Component> |
InstantiationPermissions.authorize(Class<T> componentClass,
Roles rolesToAdd)
Gives the given role permission to instantiate the given class.
|
void |
ActionPermissions.unauthorize(org.apache.wicket.authorization.Action action,
Roles rolesToRemove)
Remove the given authorized role from an action.
|
<T extends org.apache.wicket.Component> |
InstantiationPermissions.unauthorize(Class<T> componentClass,
Roles rolesToRemove)
Removes permission for the given role to instantiate the given class.
|
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.