Class Settings.SslSettings
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.server.Settings.SslSettings
 
- 
- 
Field SummaryFields Modifier and Type Field Description booleanenabledEnables SSL.StringkeyStoreThe file location of the private key in JKS or PKCS#12 format.StringkeyStorePasswordThe password of thekeyStore, ornullif it's not password-protected.StringkeyStoreTypeio.netty.handler.ssl.ClientAuthneedClientAuthRequire client certificate authenticationList<String>sslCipherSuitesA list of cipher suites to enable.List<String>sslEnabledProtocolsA list of SSL protocols to enable.StringtrustStoreTrusted certificates for verifying the remote client's certificate.StringtrustStorePasswordThe password of thetrustStore, ornullif it's not password-protected.StringtrustStoreType
 - 
Constructor SummaryConstructors Constructor Description SslSettings()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<io.netty.handler.ssl.SslContext>getSslContext()voidoverrideSslContext(io.netty.handler.ssl.SslContext sslContext)When this value is set, the other settings for SSL are ignored.
 
- 
- 
- 
Field Detail- 
enabledpublic boolean enabled Enables SSL. Other SSL settings will be ignored unless this is set to true.
 - 
keyStorepublic String keyStore The file location of the private key in JKS or PKCS#12 format.
 - 
keyStorePasswordpublic String keyStorePassword The password of thekeyStore, ornullif it's not password-protected.
 - 
trustStorepublic String trustStore Trusted certificates for verifying the remote client's certificate. If this value is not provided and SSL is enabled, the defaultTrustManagerwill be used.
 - 
trustStorePasswordpublic String trustStorePassword The password of thetrustStore, ornullif it's not password-protected.
 - 
keyStoreTypepublic String keyStoreType 
 - 
trustStoreTypepublic String trustStoreType 
 - 
sslEnabledProtocolspublic List<String> sslEnabledProtocols A list of SSL protocols to enable. @see JSSE Protocols
 - 
sslCipherSuitespublic List<String> sslCipherSuites A list of cipher suites to enable. @see Cipher Suites
 - 
needClientAuthpublic io.netty.handler.ssl.ClientAuth needClientAuth Require client certificate authentication
 
- 
 - 
Method Detail- 
overrideSslContextpublic void overrideSslContext(io.netty.handler.ssl.SslContext sslContext) When this value is set, the other settings for SSL are ignored. This option provides for a programmatic way to configure more complex SSL configurations. Theenabledsetting should still be set totruefor this setting to take effect.
 - 
getSslContextpublic Optional<io.netty.handler.ssl.SslContext> getSslContext() 
 
- 
 
-