Class Settings.SslSettings
java.lang.Object
org.apache.tinkerpop.gremlin.server.Settings.SslSettings
- Enclosing class:
- Settings
Settings to configure SSL support.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanEnables SSL.The file location of the private key in JKS or PKCS#12 format.The password of thekeyStore, ornullif it's not password-protected.io.netty.handler.ssl.ClientAuthRequire client certificate authenticationlongThe interval, in milliseconds, at which the trustStore and keyStore files are checked for updates.A list of cipher suites to enable.A list of SSL protocols to enable.Trusted certificates for verifying the remote client's certificate.The password of thetrustStore, ornullif it's not password-protected. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<io.netty.handler.ssl.SslContext>voidoverrideSslContext(io.netty.handler.ssl.SslContext sslContext) When this value is set, the other settings for SSL are ignored.
-
Field Details
-
enabled
public boolean enabledEnables SSL. Other SSL settings will be ignored unless this is set to true. -
keyStore
The file location of the private key in JKS or PKCS#12 format. -
keyStorePassword
The password of thekeyStore, ornullif it's not password-protected. -
trustStore
Trusted certificates for verifying the remote client's certificate. If this value is not provided and SSL is enabled, the defaultTrustManagerwill be used. -
trustStorePassword
The password of thetrustStore, ornullif it's not password-protected. -
keyStoreType
-
trustStoreType
-
sslEnabledProtocols
A list of SSL protocols to enable. @see JSSE Protocols -
sslCipherSuites
A list of cipher suites to enable. @see Cipher Suites -
needClientAuth
public io.netty.handler.ssl.ClientAuth needClientAuthRequire client certificate authentication -
refreshIntervalMillis
public long refreshIntervalMillisThe interval, in milliseconds, at which the trustStore and keyStore files are checked for updates. The default interval is 60 seconds.
-
-
Constructor Details
-
SslSettings
public SslSettings()
-
-
Method Details
-
overrideSslContext
public 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. -
getSslContext
-