Interface AuthenticationProvider

    • Method Detail

      • authenticate

        void authenticate​(java.lang.String user,
                          java.lang.String password)
                   throws javax.security.sasl.AuthenticationException
        The authenticate method is called by the PlainSaslServerCallbackHandler in the PlainSaslServer layer to authenticate users for their requests. If a user is to be granted, return nothing/throw nothing. When a user is to be disallowed, throw an appropriate AuthenticationException.
        Parameters:
        user - The username received over the connection request
        password - The password received over the connection request
        Throws:
        javax.security.sasl.AuthenticationException - when a user is found to be invalid by the implementation