Class AnonymousSaslMechanism

    • Constructor Detail

      • AnonymousSaslMechanism

        public AnonymousSaslMechanism()
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: SaslMechanism
        The name of the SASL mechanism.
        Specified by:
        getName in interface SaslMechanism
        Returns:
        the name of the SASL mechanism
      • handleChallenge

        public byte[] handleChallenge​(byte[] challenge,
                                      CredentialsProvider credentialsProvider)
        Description copied from interface: SaslMechanism
        Handle a challenge from the server
        Specified by:
        handleChallenge in interface SaslMechanism
        Parameters:
        challenge - the server challenge
        credentialsProvider - the credentials to use
        Returns:
        the response to the challenge