Package com.rabbitmq.stream.sasl
Interface SaslConfiguration
-
- All Known Implementing Classes:
DefaultSaslConfiguration
,JdkSaslConfiguration
public interface SaslConfiguration
Contract to choose aSaslMechanism
from the ones supported by the server.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SaslMechanism
getSaslMechanism(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
-
-