Uses of Class
com.couchbase.client.core.env.SecurityConfig.Builder
-
Uses of SecurityConfig.Builder in com.couchbase.client.core.env
Modifier and TypeMethodDescriptionstatic SecurityConfig.Builder
SecurityConfig.builder()
Deprecated.Allows to customize the list of ciphers that is negotiated with the cluster.static SecurityConfig.Builder
Deprecated.This method creates a new builder.SecurityConfig.Builder.enableCertificateVerification
(boolean certificateVerificationEnabled) Pass false to bypass all TLS certificate verification checks.SecurityConfig.Builder.enableHostnameVerification
(boolean hostnameVerificationEnabled) Allows to enable or disable hostname verification (enabled by default).static SecurityConfig.Builder
SecurityConfig.enableHostnameVerification
(boolean hostnameVerificationEnabled) Deprecated.This method creates a new builder.SecurityConfig.Builder.enableNativeTls
(boolean nativeTlsEnabled) Enables/disables native TLS (enabled by default).static SecurityConfig.Builder
SecurityConfig.enableNativeTls
(boolean nativeTlsEnabled) Deprecated.This method creates a new builder.SecurityConfig.Builder.enableTls
(boolean tlsEnabled) Enables TLS for all client/server communication (disabled by default).static SecurityConfig.Builder
SecurityConfig.enableTls
(boolean tlsEnabled) Deprecated.This method creates a new builder.CoreEnvironment.Builder.securityConfig()
Returns the currently stored config builder.SecurityConfig.Builder.trustCertificate
(Path certificatePath) Loads X.509 certificates from the file at the given path into the trust store.static SecurityConfig.Builder
SecurityConfig.trustCertificate
(Path certificatePath) Deprecated.This method creates a new builder.SecurityConfig.Builder.trustCertificates
(List<X509Certificate> certificates) Loads the given list of X.509 certificates into the trust store.static SecurityConfig.Builder
SecurityConfig.trustCertificates
(List<X509Certificate> certificates) Deprecated.This method creates a new builder.SecurityConfig.Builder.trustManagerFactory
(TrustManagerFactory trustManagerFactory) Allows to provide a trust manager factory directly for maximum flexibility.static SecurityConfig.Builder
SecurityConfig.trustManagerFactory
(TrustManagerFactory trustManagerFactory) Deprecated.This method creates a new builder.SecurityConfig.Builder.trustStore
(Path trustStorePath, String trustStorePassword, Optional<String> trustStoreType) Loads a trust store from a file path and password and initializes theTrustManagerFactory
.SecurityConfig.Builder.trustStore
(KeyStore trustStore) Initializes theTrustManagerFactory
with the given trust store.static SecurityConfig.Builder
SecurityConfig.trustStore
(Path trustStorePath, String trustStorePassword, Optional<String> trustStoreType) Deprecated.This method creates a new builder.static SecurityConfig.Builder
SecurityConfig.trustStore
(KeyStore trustStore) Deprecated.This method creates a new builder.Modifier and TypeMethodDescriptionCoreEnvironment.Builder.securityConfig
(SecurityConfig.Builder securityConfig) Deprecated.This method clobbers any previously configured values.Modifier and TypeMethodDescriptionCoreEnvironment.Builder.securityConfig
(Consumer<SecurityConfig.Builder> builderConsumer) Passes theSecurityConfig.Builder
to the provided consumer.
CoreEnvironment.Builder.securityConfig(Consumer)
and configure the builder passed to the consumer.