public interface CustomAuthorizer extends Authorizer
Authorizer super-interface.
Custom authorizers will use this interface to allow integration with the WildFly management
layer.
Implementations of this interface must be loadable via the java.util.ServiceLoader mechanism.
Authorizer.AuthorizerDescription| Modifier and Type | Method and Description |
|---|---|
Authorizer.AuthorizerDescription |
setAuthorizerConfiguration(AuthorizerConfiguration configuration)
Provides a reference to the
AuthorizerConfiguration to the authorizer. |
void |
shutdown()
Notification that the authorizer is no longer in use and should shut down.
|
authorize, authorize, authorizeJmxOperation, getCallerRoles, getDescriptionAuthorizer.AuthorizerDescription setAuthorizerConfiguration(AuthorizerConfiguration configuration)
AuthorizerConfiguration to the authorizer. This allows
the authorizer to take advantage of access control configuration information provided via
the WildFly management API. How, or even if, this information is used is up to the authorizer
implementation.
This method will be called before any methods in the Authorizer interface are called.
configuration - the configuration. Will not be nullIllegalStateException - if the configuration has already been setvoid shutdown()
Copyright © 2017 JBoss by Red Hat. All rights reserved.