public interface Authenticator
| Modifier and Type | Method and Description |
|---|---|
default void |
applyTlsProperties(io.netty.handler.ssl.SslContextBuilder sslContextBuilder)
The authenticator gets the chance to attach the client certificate to the ssl context if needed.
|
default void |
authKeyValueConnection(io.netty.channel.ChannelPipeline pipeline)
Allows the authenticator to add KV handlers during connection bootstrap to perform
authentication.
|
default boolean |
requiresTls()
If this authenticator only works with encrypted connections.
|
default void authKeyValueConnection(io.netty.channel.ChannelPipeline pipeline)
pipeline - the pipeline when the endpoint is constructed.default void applyTlsProperties(io.netty.handler.ssl.SslContextBuilder sslContextBuilder)
sslContextBuilder - the netty context builderdefault boolean requiresTls()
Copyright © 2021 Couchbase, Inc.. All rights reserved.