public interface

SaslMechanism

com.rabbitmq.client.SaslMechanism
Known Indirect Subclasses

Class Overview

Our own view of a SASL authentication mechanism, introduced to remove a dependency on javax.security.sasl.

Summary

Public Methods
abstract String getName()
The name of this mechanism (e.g.
abstract LongString handleChallenge(LongString challenge, String username, String password)
Handle one round of challenge-response

Public Methods

public abstract String getName ()

The name of this mechanism (e.g. PLAIN)

public abstract 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
Throws
IOException