Class AnonymousSaslMechanism

java.lang.Object
com.rabbitmq.stream.sasl.AnonymousSaslMechanism
All Implemented Interfaces:
SaslMechanism

public final class AnonymousSaslMechanism extends Object implements SaslMechanism
The ANONYMOUS SaslMechanism.
  • Field Details

  • Constructor Details

    • AnonymousSaslMechanism

      public AnonymousSaslMechanism()
  • Method Details

    • 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