Uses of Class
com.couchbase.client.dcp.SecurityConfig.Builder
Packages that use SecurityConfig.Builder
-
Uses of SecurityConfig.Builder in com.couchbase.client.dcp
Methods in com.couchbase.client.dcp that return SecurityConfig.BuilderModifier and TypeMethodDescriptionstatic SecurityConfig.BuilderSecurityConfig.builder()Creates a builder to customize theSecurityConfigconfiguration.SecurityConfig.Builder.enableHostnameVerification(boolean hostnameVerificationEnabled) Allows to enable or disable hostname verification (enabled by default).SecurityConfig.Builder.enableNativeTls(boolean nativeTlsEnabled) Enables/disables native TLS (enabled by default).SecurityConfig.Builder.enableTls(boolean tlsEnabled) Enables TLS for all client/server communication (disabled by default).SecurityConfig.Builder.trustCertificate(Path certificatePath) Loads a X.509 trust certificate from the given path and uses it.SecurityConfig.Builder.trustCertificates(List<X509Certificate> certificates) Loads the given list of X.509 certificates into the trust store.SecurityConfig.Builder.trustManagerFactory(TrustManagerFactory trustManagerFactory) Allows to provide a trust manager factory directly for maximum flexibility.SecurityConfig.Builder.trustStore(Path trustStorePath, String trustStorePassword) Loads a trust store from a file path and password and initializes theTrustManagerFactory.SecurityConfig.Builder.trustStore(Path trustStorePath, String trustStorePassword, String trustStoreType) Loads a trust store from a file path and password and initializes theTrustManagerFactory.SecurityConfig.Builder.trustStore(KeyStore trustStore) Initializes theTrustManagerFactorywith the given trust store.Methods in com.couchbase.client.dcp with parameters of type SecurityConfig.BuilderModifier and TypeMethodDescriptionClient.Builder.securityConfig(SecurityConfig.Builder securityConfigBuilder) Deprecated.Method parameters in com.couchbase.client.dcp with type arguments of type SecurityConfig.BuilderModifier and TypeMethodDescriptionClient.Builder.securityConfig(Consumer<SecurityConfig.Builder> configurator)
Client.Builder.securityConfig(Consumer)instead.