Package com.rabbitmq.stream.sasl
Interface SaslConfiguration
- All Known Implementing Classes:
DefaultSaslConfiguration
,JdkSaslConfiguration
public interface SaslConfiguration
Contract to choose a
SaslMechanism
from the ones supported by the server.-
Method Summary
Modifier and TypeMethodDescriptiongetSaslMechanism
(List<String> mechanisms) Pick mechanism according to the ones passed in.
-
Method Details
-
getSaslMechanism
Pick mechanism according to the ones passed in.- Parameters:
mechanisms
- supported mechanisms by the server- Returns:
- the mechanism to use for authentication
-