Class PlainAuthenticationState

    • Constructor Detail

      • PlainAuthenticationState

        public PlainAuthenticationState​(SaslMessage saslMessage)
        Parameters:
        saslMessage - The parsed message sent by the client with the AUTH command.
      • PlainAuthenticationState

        public PlainAuthenticationState​(String authorizationId,
                                        String authenticationId,
                                        String password)
        Parameters:
        authorizationId - The authorization ID sent by the client with the AUTH command.
        authenticationId - The authentication ID sent by the client with the AUTH command.
        password - The password sent by the client with the AUTH command.
    • Method Detail

      • getType

        public String getType()
        Specified by:
        getType in interface AuthenticationState
        Returns:
        The type of the used authentication mechanism, e.g. PLAIN or LOGIN.
      • getAuthorizationId

        public String getAuthorizationId()
        Returns:
        The authorization ID sent by the client with the AUTH command.
      • getAuthenticationId

        public String getAuthenticationId()
        Returns:
        The authentication ID sent by the client with the AUTH command.
      • getPassword

        public String getPassword()
        Returns:
        password The password sent by the client with the AUTH command.