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