Package com.rabbitmq.client
Interface SaslMechanism
-
- All Known Implementing Classes:
CRDemoMechanism,ExternalMechanism,PlainMechanism
public interface SaslMechanismOur 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 StringgetName()The name of this mechanism (e.g.LongStringhandleChallenge(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
-
-