Package com.rabbitmq.stream.sasl
Interface SaslConfiguration
-
- All Known Implementing Classes:
DefaultSaslConfiguration,JdkSaslConfiguration
public interface SaslConfigurationContract to choose aSaslMechanismfrom the ones supported by the server.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SaslMechanismgetSaslMechanism(List<String> mechanisms)Pick mechanism according to the ones passed in.
-
-
-
Method Detail
-
getSaslMechanism
SaslMechanism getSaslMechanism(List<String> mechanisms)
Pick mechanism according to the ones passed in.- Parameters:
mechanisms- supported mechanisms by the server- Returns:
- the mechanism to use for authentication
-
-