Class ExternalSaslMechanism
java.lang.Object
com.rabbitmq.stream.sasl.ExternalSaslMechanism
- All Implemented Interfaces:
SaslMechanism
The
EXTERNAL SaslMechanism.-
Field Summary
Fields -
Constructor Summary
Constructors -
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:SaslMechanismThe name of the SASL mechanism.- Specified by:
getNamein interfaceSaslMechanism- Returns:
- the name of the SASL mechanism
-
handleChallenge
Description copied from interface:SaslMechanismHandle a challenge from the server- Specified by:
handleChallengein interfaceSaslMechanism- Parameters:
challenge- the server challengecredentialsProvider- the credentials to use- Returns:
- the response to the challenge
-