case class SecurityConfig(tlsEnabled: Option[Boolean] = None, nativeTlsEnabled: Option[Boolean] = None, trustCertificates: Option[Seq[X509Certificate]] = None, trustManagerFactory: Option[TrustManagerFactory] = None, enableHostnameVerification: Option[Boolean] = None, trustCertificate: Option[Path] = None, ciphers: Option[Seq[String]] = None, trustKeyStore: Option[KeyStore] = None, trustStoreFile: Option[TrustStoreFile] = None) extends Product with Serializable
- Alphabetic
 - By Inheritance
 
- SecurityConfig
 - Serializable
 - Product
 - Equals
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - Protected
 
Instance Constructors
-  new SecurityConfig(tlsEnabled: Option[Boolean] = None, nativeTlsEnabled: Option[Boolean] = None, trustCertificates: Option[Seq[X509Certificate]] = None, trustManagerFactory: Option[TrustManagerFactory] = None, enableHostnameVerification: Option[Boolean] = None, trustCertificate: Option[Path] = None, ciphers: Option[Seq[String]] = None, trustKeyStore: Option[KeyStore] = None, trustStoreFile: Option[TrustStoreFile] = None)
 
Value Members
-   final  def !=(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def ##: Int
- Definition Classes
 - AnyRef → Any
 
 -   final  def ==(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def asInstanceOf[T0]: T0
- Definition Classes
 - Any
 
 -    def ciphers(value: Seq[String]): SecurityConfig
Customize the list of ciphers that is negotiated with the cluster.
Customize the list of ciphers that is negotiated with the cluster.
Note that this method is considered advanced API, please only customize the cipher list if you know what you are doing (for example if you want to shrink the cipher list down to a very specific subset for security or compliance reasons).
If no custom ciphers are configured, the default set will be used.
- returns
 this for chaining purposes.
 -    def clone(): AnyRef
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
 
 -    def enableHostnameVerification(value: Boolean): SecurityConfig
Enables or disable hostname verification (enabled by default).
Enables or disable hostname verification (enabled by default).
Note that disabling hostname verification will cause the TLS connection to not verify that the hostname/ip is actually part of the certificate and as a result not detect certain kinds of attacks. Only disable if you understand the impact and risks!
- returns
 this for chaining purposes.
 -    def enableNativeTls(value: Boolean): SecurityConfig
Enables/disables native TLS (enabled by default).
Enables/disables native TLS (enabled by default).
- returns
 this for chaining purposes.
 -    def enableTls(value: Boolean): SecurityConfig
Enables TLS for all client/server communication (disabled by default).
Enables TLS for all client/server communication (disabled by default).
- returns
 this for chaining purposes.
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native() @HotSpotIntrinsicCandidate()
 
 -   final  def isInstanceOf[T0]: Boolean
- Definition Classes
 - Any
 
 -   final  def ne(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -   final  def notify(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @native() @HotSpotIntrinsicCandidate()
 
 -   final  def notifyAll(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @native() @HotSpotIntrinsicCandidate()
 
 -    def productElementNames: Iterator[String]
- Definition Classes
 - Product
 
 -   final  def synchronized[T0](arg0: => T0): T0
- Definition Classes
 - AnyRef
 
 -    def trustCertificate(value: Path): SecurityConfig
Loads a X.509 trust certificate from the given path and uses it.
Loads a X.509 trust certificate from the given path and uses it.
- returns
 this for chaining purposes.
 -    def trustCertificates(values: Seq[X509Certificate]): SecurityConfig
Loads the given list of X.509 certificates into the trust store.
Loads the given list of X.509 certificates into the trust store.
- returns
 this for chaining purposes.
 -    def trustManagerFactory(value: TrustManagerFactory): SecurityConfig
Provide a trust manager factory directly for maximum flexibility.
Provide a trust manager factory directly for maximum flexibility.
While providing the most flexibility, most users will find the other overloads more convenient, like passing in a trustStore directly or via filepath String, Optional).
- returns
 this for chaining purposes.
 -  def trustStore(trustStorePath: Path, trustStorePassword: String, trustStoreType: Option[String] = None): SecurityConfig
 -  def trustStore(value: KeyStore): SecurityConfig
 -   final  def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException]) @native()
 
 -   final  def wait(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 
Deprecated Value Members
-    def finalize(): Unit
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.Throwable]) @Deprecated
 - Deprecated