Package com.rabbitmq.client
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 Summary
Modifier and TypeMethodDescriptiongetName()
The name of this mechanism (e.g.handleChallenge
(LongString challenge, String username, String password) Handle one round of challenge-response
-
Method Details
-
getName
String getName()The name of this mechanism (e.g. PLAIN)- Returns:
- the name
-
handleChallenge
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
-