Package org.jboss.as.controller.access
Interface CustomAuthorizer
-
- All Superinterfaces:
Authorizer
public interface CustomAuthorizer extends Authorizer
Interface for non-standard implementations of theAuthorizersuper-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.ServiceLoadermechanism.- 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Authorizer.AuthorizerDescriptionsetAuthorizerConfiguration(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 Detail
-
setAuthorizerConfiguration
Authorizer.AuthorizerDescription setAuthorizerConfiguration(AuthorizerConfiguration configuration)
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.
-
-