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 IRequestableComponent> |
InstantiationPermissions.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.
|
Modifier and Type | Method and Description |
---|---|
protected Map<Class<? extends Component>,Roles> |
InstantiationPermissions.getRolesForComponentClass() |
Modifier and Type | Method and Description |
---|---|
void |
ActionPermissions.authorize(Action action,
Roles rolesToAdd)
Gives permission for the given roles to perform the given action
|
<T extends Component> |
InstantiationPermissions.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> |
InstantiationPermissions.unauthorize(Class<T> componentClass,
Roles rolesToRemove)
Removes permission for the given role to instantiate the given class.
|
Modifier and Type | Method and Description |
---|---|
Roles |
SignInSession.getRoles() |
Modifier and Type | Method and Description |
---|---|
Roles |
SignIn2Session.getRoles() |
Modifier and Type | Method and Description |
---|---|
Roles |
MyAuthenticatedWebSession.getRoles() |
Modifier and Type | Method and Description |
---|---|
boolean |
User.hasAnyRole(Roles roles)
Whether this user has any of the given roles.
|
boolean |
UserRolesAuthorizer.hasAnyRole(Roles roles) |
Modifier and Type | Method and Description |
---|---|
Roles |
LibrarySession.getRoles() |
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.