Class AbstractSaslServer

    • Constructor Detail

      • AbstractSaslServer

        protected AbstractSaslServer​(String mechanismName,
                                     String protocol,
                                     String serverName,
                                     CallbackHandler callbackHandler,
                                     ElytronMessages log)
        Construct a new instance.
        Parameters:
        mechanismName - the name of the defined mechanism
        protocol - the protocol
        serverName - the server name
        callbackHandler - the callback handler
        log - mechanism specific logger
      • AbstractSaslServer

        @Deprecated
        protected AbstractSaslServer​(String mechanismName,
                                     String protocol,
                                     String serverName,
                                     CallbackHandler callbackHandler)
        Deprecated.
        Construct a new instance.
        Parameters:
        mechanismName - the name of the defined mechanism
        protocol - the protocol
        serverName - the server name
        callbackHandler - the callback handler
    • Method Detail

      • evaluateResponse

        public byte[] evaluateResponse​(byte[] response)
                                throws SaslException
        Evaluate an authentication response received from the client.
        Specified by:
        evaluateResponse in interface SaslServer
        Parameters:
        response - the authentication response
        Returns:
        the next challenge to send to the client
        Throws:
        SaslException - if there is an error processing the client message