Interface SaslMechanism

All Known Implementing Classes:
AnonymousMechanism, CRDemoMechanism, ExternalMechanism, PlainMechanism

public interface SaslMechanism
Our own view of a SASL authentication mechanism, introduced to remove a dependency on javax.security.sasl.
  • Method Details

    • getName

      String getName()
      The name of this mechanism (e.g. PLAIN)
      Returns:
      the name
    • handleChallenge

      LongString handleChallenge(LongString challenge, String username, String password)
      Handle one round of challenge-response
      Parameters:
      challenge - the challenge this round, or null on first round.
      username - name of user
      password - for username
      Returns:
      response