Package com.rabbitmq.stream.sasl
Class AnonymousSaslMechanism
java.lang.Object
com.rabbitmq.stream.sasl.AnonymousSaslMechanism
- All Implemented Interfaces:
SaslMechanism
The
ANONYMOUS
SaslMechanism
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
The name of the SASL mechanism.byte[]
handleChallenge
(byte[] challenge, CredentialsProvider credentialsProvider) Handle a challenge from the server
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
AnonymousSaslMechanism
public AnonymousSaslMechanism()
-
-
Method Details
-
getName
Description copied from interface:SaslMechanism
The name of the SASL mechanism.- Specified by:
getName
in interfaceSaslMechanism
- Returns:
- the name of the SASL mechanism
-
handleChallenge
Description copied from interface:SaslMechanism
Handle a challenge from the server- Specified by:
handleChallenge
in interfaceSaslMechanism
- Parameters:
challenge
- the server challengecredentialsProvider
- the credentials to use- Returns:
- the response to the challenge
-