Package | Description |
---|---|
com.couchbase.client.core.cnc.events.io | |
com.couchbase.client.core.env | |
com.couchbase.client.core.io.netty.kv |
Modifier and Type | Method and Description |
---|---|
SaslMechanism |
SaslMechanismsSelectedEvent.selectedMechanism() |
Modifier and Type | Method and Description |
---|---|
Set<SaslMechanism> |
SaslMechanismsSelectedEvent.allowedMechanisms() |
Set<SaslMechanism> |
SaslMechanismsListedEvent.serverMechanisms() |
Constructor and Description |
---|
SaslMechanismsSelectedEvent(IoContext context,
Set<SaslMechanism> allowedMechanisms,
SaslMechanism selectedMechanism) |
Constructor and Description |
---|
SaslMechanismsListedEvent(IoContext context,
Set<SaslMechanism> serverMechanisms,
Duration duration) |
SaslMechanismsSelectedEvent(IoContext context,
Set<SaslMechanism> allowedMechanisms,
SaslMechanism selectedMechanism) |
Modifier and Type | Method and Description |
---|---|
static SaslMechanism |
SaslMechanism.from(String mech)
Helper method to create the enum from its string representation.
|
static SaslMechanism |
SaslMechanism.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SaslMechanism[] |
SaslMechanism.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
PasswordAuthenticator.Builder |
PasswordAuthenticator.Builder.allowedSaslMechanisms(Set<SaslMechanism> allowedSaslMechanisms)
Allows to set a list of allowed SASL mechanisms for the NON-TLS connections.
|
Modifier and Type | Field and Description |
---|---|
static com.couchbase.client.core.deps.io.netty.util.AttributeKey<Set<SaslMechanism>> |
ChannelAttributes.SASL_MECHS_KEY
Holds the SASL mechanisms the server supports.
|
Constructor and Description |
---|
SaslAuthenticationHandler(EndpointContext endpointContext,
String username,
String password,
Set<SaslMechanism> allowedSaslMechanisms) |
Copyright © 2020 Couchbase, Inc.. All rights reserved.