Class AuthorizerCallback

  • All Implemented Interfaces:
    javax.security.auth.callback.Callback

    public class AuthorizerCallback
    extends java.lang.Object
    implements javax.security.auth.callback.Callback
    Callback for requesting and supplying an Authorizer required by a LoginModule. This Callback is used by LoginModules needing access to the external authorizer or group manager.
    Since:
    2.3
    • Method Detail

      • setAuthorizer

        public void setAuthorizer​(Authorizer authorizer)
        Sets the authorizer object. CallbackHandler objects call this method.
        Parameters:
        authorizer - the authorizer
      • getAuthorizer

        public Authorizer getAuthorizer()
        Returns the authorizer. LoginModules call this method after a CallbackHandler sets the authorizer.
        Returns:
        the authorizer