Class ExternalSaslMechanism

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

public class ExternalSaslMechanism extends Object implements SaslMechanism
The EXTERNAL SaslMechanism.
  • Field Details

  • Constructor Details

    • ExternalSaslMechanism

      public ExternalSaslMechanism()
  • 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