Package com.rabbitmq.stream.sasl
Class DefaultSaslConfiguration
java.lang.Object
com.rabbitmq.stream.sasl.DefaultSaslConfiguration
- All Implemented Interfaces:
SaslConfiguration
SaslConfiguration
that supports our built-in mechanisms.-
Field Summary
Modifier and TypeFieldDescriptionstatic final SaslConfiguration
static final SaslConfiguration
static final SaslConfiguration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSaslMechanism
(List<String> mechanisms) Pick mechanism according to the ones passed in.
-
Field Details
-
PLAIN
-
EXTERNAL
-
ANONYMOUS
-
-
Constructor Details
-
DefaultSaslConfiguration
public DefaultSaslConfiguration() -
DefaultSaslConfiguration
-
-
Method Details
-
getSaslMechanism
Description copied from interface:SaslConfiguration
Pick mechanism according to the ones passed in.- Specified by:
getSaslMechanism
in interfaceSaslConfiguration
- Parameters:
mechanisms
- supported mechanisms by the server- Returns:
- the mechanism to use for authentication
-