Package com.rabbitmq.client
Interface SaslMechanism
-
- All Known Implementing Classes:
CRDemoMechanism
,ExternalMechanism
,PlainMechanism
public interface SaslMechanism
Our own view of a SASL authentication mechanism, introduced to remove a dependency on javax.security.sasl.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
The name of this mechanism (e.g.LongString
handleChallenge(LongString challenge, String username, String password)
Handle one round of challenge-response
-
-
-
Method Detail
-
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 userpassword
- for username- Returns:
- response
-
-