Package org.jboss.as.controller.access
Interface CustomAuthorizer
- All Superinterfaces:
Authorizer
Interface for non-standard implementations of the
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.
- Author:
- Brian Stansberry (c) 2013 Red Hat Inc.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.as.controller.access.Authorizer
Authorizer.AuthorizerDescription -
Method Summary
Modifier and TypeMethodDescriptionsetAuthorizerConfiguration(AuthorizerConfiguration configuration) Provides a reference to theAuthorizerConfigurationto the authorizer.voidshutdown()Notification that the authorizer is no longer in use and should shut down.Methods inherited from interface org.jboss.as.controller.access.Authorizer
authorize, authorize, authorizeJmxOperation, getCallerRoles, getDescription
-
Method Details
-
setAuthorizerConfiguration
Provides a reference to theAuthorizerConfigurationto 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
Authorizerinterface are called.- Parameters:
configuration- the configuration. Will not benull- Returns:
- a description of this authorizer
- Throws:
IllegalStateException- if the configuration has already been set
-
shutdown
void shutdown()Notification that the authorizer is no longer in use and should shut down.
-