Class ServerOptions
java.lang.Object
com.complexible.common.protocols.server.ServerOptions
Server configuration options
- Since:
- 2.0
- Version:
- 5.0
- Author:
- Michael Grove
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionSize of user thread poolForce the node to join an empty cluster, dropping any databases on this nodeWhether to allow credentials to be included in CORS requests for Kerberos authentication defaults to `false`Option to configure the allowed origins for CORS requestsWhether or not CORS support is enabled defaults to `true`Start the geo replica in insecure mode, using http to connect to Stardog Cluster.The path to the key store to be used for SSL.static final Option<char[]> The password for thekey store.The type for thekey store.A krb5 principal that will be initial admin user of StardogBoolean to determine if Kerberos debug logging should be onKey tab for KerberosRegex to translate krb5 names to Stardog namesA flag indicating if the server will accept remote shutdownsOption to configure disable username/password authentication (only use gssapi)Disables ALL security for a serverWrite timeout duration for a socket.Option to control whether or not the client *must* provide a valid certificate when establishing the SSL connection.Option to enable SSL for the server.Option to require SSL; this will force clients to use SSL if they with to obtain a connection to the server.The path to the trust store to be used for SSL.static final Option<char[]> The password for thekey store.The type for thetrust store.Size of user thread pool -
Method Summary
-
Field Details
-
SSL_ENABLED
Option to enable SSL for the server. When this option is true, the server will support clients connecting over SSL -
SSL_REQUIRED
Option to require SSL; this will force clients to use SSL if they with to obtain a connection to the server. This implicitly enables SSL -
SSL_CERT_REQUIRED
Option to control whether or not the client *must* provide a valid certificate when establishing the SSL connection. Default, false. -
KEY_STORE
The path to the key store to be used for SSL. Defaults to the value of the JVM propertyjavax.net.ssl.keyStore -
KEY_STORE_PASSWD
The password for thekey store. Defaults to the value of the JVM propertyjavax.net.ssl.keyStorePassword -
KEY_STORE_TYPE
The type for thekey store. Defaults to the value of the JVM propertyjavax.net.ssl.keyStoreTypeand if that is not set, then it defaults toJKS -
TRUST_STORE
The path to the trust store to be used for SSL. Defaults to the value of the JVM propertyjavax.net.ssl.trustStoree -
TRUST_STORE_PASSWD
The password for thekey store. Defaults to the value of the JVM propertyjavax.net.ssl.trustStorePassword -
TRUST_STORE_TYPE
The type for thetrust store. Defaults to the value of the JVM propertyjavax.net.ssl.trustStoreTypeand if that is not set, then it defaults toJKS -
SECURITY_DISABLED
Disables ALL security for a server -
SECURITY_DISABLE_PASSWORD
Option to configure disable username/password authentication (only use gssapi) -
CORS_ALLOWED_ORIGINS
Option to configure the allowed origins for CORS requests -
CORS_ALLOW_CREDENTIALS
Whether to allow credentials to be included in CORS requests for Kerberos authentication defaults to `false` -
CORS_ENABLED
Whether or not CORS support is enabled defaults to `true`- See Also:
-
USER_THREAD_POOL_SIZE
Size of user thread pool -
ADMIN_THREAD_POOL_SIZE
Size of user thread pool -
KRB5_KEYTAB
Key tab for Kerberos -
KRB5_DEBUG_MODE
Boolean to determine if Kerberos debug logging should be on -
KRB5_USERNAME_TRANSLATION
Regex to translate krb5 names to Stardog names -
KRB5_ADMIN_PRINCIPAL
A krb5 principal that will be initial admin user of Stardog -
REMOTE_SHUTDOWN
A flag indicating if the server will accept remote shutdowns -
SOCKET_WRITE_TIMEOUT
Write timeout duration for a socket. If the given amount of time elapses without a successful write taking place, the server's next write to the socket will throw an exception. defaults to `10m` -
CLUSTER_FORCE_JOIN
Force the node to join an empty cluster, dropping any databases on this node -
GEO_REPLICA_INSECURE
Start the geo replica in insecure mode, using http to connect to Stardog Cluster.
-
-
Method Details
-
defaults
-
secure
Return the options for creating a 'secure' server, SSL is both enabled and required.- Returns:
- the options
-