Interface CustomAuthorizer

All Superinterfaces:
Authorizer

public interface CustomAuthorizer extends 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.
  • Method Details

    • setAuthorizerConfiguration

      Authorizer.AuthorizerDescription setAuthorizerConfiguration(AuthorizerConfiguration configuration)
      Provides a reference to the 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.

      Parameters:
      configuration - the configuration. Will not be null
      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.