Package com.rabbitmq.stream.sasl
Class ExternalSaslMechanism
java.lang.Object
com.rabbitmq.stream.sasl.ExternalSaslMechanism
- All Implemented Interfaces:
SaslMechanism
The
EXTERNAL
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
-
ExternalSaslMechanism
public ExternalSaslMechanism()
-
-
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
-