Package com.rabbitmq.client.impl
Class ExternalMechanism
java.lang.Object
com.rabbitmq.client.impl.ExternalMechanism
- All Implemented Interfaces:
SaslMechanism
The EXTERNAL auth mechanism
-
Constructor Summary
Constructors -
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
-
Constructor Details
-
ExternalMechanism
public ExternalMechanism()
-
-
Method Details
-
getName
Description copied from interface:SaslMechanismThe name of this mechanism (e.g. PLAIN)- Specified by:
getNamein interfaceSaslMechanism- Returns:
- the name
-
handleChallenge
Description copied from interface:SaslMechanismHandle one round of challenge-response- Specified by:
handleChallengein interfaceSaslMechanism- Parameters:
challenge- the challenge this round, or null on first round.username- name of userpassword- for username- Returns:
- response
-