Class JDKSaslConfig.JDKSaslMechanism

java.lang.Object
com.rabbitmq.client.JDKSaslConfig.JDKSaslMechanism
All Implemented Interfaces:
SaslMechanism
Enclosing class:
JDKSaslConfig

private class JDKSaslConfig.JDKSaslMechanism extends Object implements SaslMechanism
  • Field Details

  • Constructor Details

    • JDKSaslMechanism

      public JDKSaslMechanism(SaslClient client)
  • Method Details

    • getName

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

      public LongString handleChallenge(LongString challenge, String username, String password)
      Description copied from interface: SaslMechanism
      Handle one round of challenge-response
      Specified by:
      handleChallenge in interface SaslMechanism
      Parameters:
      challenge - the challenge this round, or null on first round.
      username - name of user
      password - for username
      Returns:
      response