public class ScramSaslClientFactory extends Object implements SaslClientFactory
SaslClientFactory
supporting various SCRAM-SHA modes.
See Mode for information which are supported and how they map to their network representation.
Constructor and Description |
---|
ScramSaslClientFactory() |
Modifier and Type | Method and Description |
---|---|
SaslClient |
createSaslClient(String[] mechanisms,
String authorizationId,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh) |
String[] |
getMechanismNames(Map<String,?> props) |
public SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
createSaslClient
in interface SaslClientFactory
SaslException
public String[] getMechanismNames(Map<String,?> props)
getMechanismNames
in interface SaslClientFactory
Copyright © 2020 Couchbase, Inc.. All rights reserved.