public interface Authorizer
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Authorizer.AuthorizerDescription
Description of standard information about the custom authorizer.
|
| Modifier and Type | Method and Description |
|---|---|
AuthorizationResult |
authorize(org.wildfly.security.auth.server.SecurityIdentity identity,
Environment callEnvironment,
Action action,
TargetAttribute target)
Authorize a management operation affecting an individual attribute.
|
AuthorizationResult |
authorize(org.wildfly.security.auth.server.SecurityIdentity identity,
Environment callEnvironment,
Action action,
TargetResource target)
Authorize a management operation affecting an entire resource.
|
AuthorizationResult |
authorizeJmxOperation(org.wildfly.security.auth.server.SecurityIdentity identity,
Environment callEnvironment,
JmxAction action,
JmxTarget target)
Authorize a JMX operation.
|
Set<String> |
getCallerRoles(org.wildfly.security.auth.server.SecurityIdentity identity,
Environment callEnvironment,
Set<String> runAsRoles)
Gets the set of roles the caller can run as taking into account any requested 'run as' roles.
|
Authorizer.AuthorizerDescription |
getDescription()
Gets a description of the characteristics of this authorizer
|
Authorizer.AuthorizerDescription getDescription()
nullAuthorizationResult authorize(org.wildfly.security.auth.server.SecurityIdentity identity, Environment callEnvironment, Action action, TargetAttribute target)
identity - the caller identity. Cannot be nullcallEnvironment - the call environment. Cannot be nullaction - the action being authorized. Cannot be nulltarget - the target of the action. Cannot be nullnullAuthorizationResult authorize(org.wildfly.security.auth.server.SecurityIdentity identity, Environment callEnvironment, Action action, TargetResource target)
identity - the identity. Cannot be nullcallEnvironment - the call environment. Cannot be nullaction - the action being authorized. Cannot be nulltarget - the target of the action. Cannot be nullnullAuthorizationResult authorizeJmxOperation(org.wildfly.security.auth.server.SecurityIdentity identity, Environment callEnvironment, JmxAction action, JmxTarget target)
identity - the caller identity. Cannot be nullcallEnvironment - the call environment. Cannot be nullaction - the action being authorized. Cannot be nulltarget - the target of the action. Cannot be nullnullSet<String> getCallerRoles(org.wildfly.security.auth.server.SecurityIdentity identity, Environment callEnvironment, Set<String> runAsRoles)
identity - the caller identity. Cannot be nullcallEnvironment - the call environment. Cannot be nullrunAsRoles - any requested 'run as' roles. May be nullnull
will be returned if the access control provider does not support role mapping.Copyright © 2022 JBoss by Red Hat. All rights reserved.