Package com.rabbitmq.client.impl
Class AnonymousMechanism
java.lang.Object
com.rabbitmq.client.impl.AnonymousMechanism
- All Implemented Interfaces:
SaslMechanism
The ANONYMOUS auth mechanism
Requires RabbitMQ 4.0 or more.
-
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
-
AnonymousMechanism
public AnonymousMechanism()
-
-
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
-