public final class ServerOptions extends Object
Server
configuration options
Server
,
ServerFactory
Modifier and Type | Field and Description |
---|---|
static Option<Integer> |
ADMIN_THREAD_POOL_SIZE
Size of user thread pool
|
static Option<Boolean> |
CORS_ALLOW_CREDENTIALS
Whether to allow credentials to be included in CORS requests for Kerberos authentication
defaults to `false`
|
static Option<List<String>> |
CORS_ALLOWED_ORIGINS
Option to configure the allowed origins for CORS requests
|
static Option<Boolean> |
CORS_ENABLED
Whether or not CORS support is enabled
defaults to `true`
|
static Option<String> |
KEY_STORE
The path to the key store to be used for SSL.
|
static Option<char[]> |
KEY_STORE_PASSWD
The password for the
key store . |
static Option<String> |
KEY_STORE_TYPE
The type for the
key store . |
static Option<String> |
KRB5_ADMIN_PRINCIPAL
A krb5 principal that will be initial admin user of Stardog
|
static Option<Boolean> |
KRB5_DEBUG_MODE
Boolean to determine if Kerberos debug logging should be on
|
static Option<String> |
KRB5_KEYTAB
Key tab for Kerberos
|
static Option<String> |
KRB5_USERNAME_TRANSLATION
Regex to translate krb5 names to Stardog names
|
static Option<Boolean> |
REMOTE_SHUTDOWN
A flag indicating if the server will accept remote shutdowns
|
static Option<Boolean> |
SECURITY_DISABLE_PASSWORD
Option to configure disable username/password authentication (only use gssapi)
|
static Option<Boolean> |
SECURITY_DISABLED
Disables ALL security for a server
|
static Option<Boolean> |
SSL_CERT_REQUIRED
Option to control whether or not the client *must* provide a valid certificate when establishing the SSL
connection.
|
static Option<Boolean> |
SSL_ENABLED
Option to enable SSL for the server.
|
static Option<Boolean> |
SSL_REQUIRED
Option to require SSL; this will force clients to use SSL if they with to obtain a connection to the server.
|
static Option<String> |
TRUST_STORE
The path to the trust store to be used for SSL.
|
static Option<char[]> |
TRUST_STORE_PASSWD
The password for the
key store . |
static Option<String> |
TRUST_STORE_TYPE
The type for the
trust store . |
static Option<Integer> |
USER_THREAD_POOL_SIZE
Size of user thread pool
|
Modifier and Type | Method and Description |
---|---|
static Options |
defaults() |
static boolean |
isSSLEnabled(Options theOptions) |
static Options |
secure()
Return the options for creating a 'secure' server, SSL is both enabled and required.
|
static Options |
secureRequireCert() |
public static final Option<Boolean> SSL_ENABLED
public static final Option<Boolean> SSL_REQUIRED
public static final Option<Boolean> SSL_CERT_REQUIRED
public static final Option<String> KEY_STORE
javax.net.ssl.keyStore
public static final Option<char[]> KEY_STORE_PASSWD
key store
. Defaults to the value of the JVM property javax.net.ssl.keyStorePassword
public static final Option<String> KEY_STORE_TYPE
key store
. Defaults to the value of the JVM property javax.net.ssl.keyStoreType
and if that
is not set, then it defaults to JKS
public static final Option<String> TRUST_STORE
javax.net.ssl.trustStoree
public static final Option<char[]> TRUST_STORE_PASSWD
key store
. Defaults to the value of the JVM property javax.net.ssl.trustStorePassword
public static final Option<String> TRUST_STORE_TYPE
trust store
. Defaults to the value of the JVM property javax.net.ssl.trustStoreType
and if that
is not set, then it defaults to JKS
public static final Option<Boolean> SECURITY_DISABLED
public static final Option<Boolean> SECURITY_DISABLE_PASSWORD
public static Option<List<String>> CORS_ALLOWED_ORIGINS
public static final Option<Boolean> CORS_ALLOW_CREDENTIALS
public static final Option<Boolean> CORS_ENABLED
CORS_ALLOWED_ORIGINS
public static final Option<Integer> USER_THREAD_POOL_SIZE
public static final Option<Integer> ADMIN_THREAD_POOL_SIZE
public static final Option<Boolean> KRB5_DEBUG_MODE
public static final Option<String> KRB5_USERNAME_TRANSLATION
public static final Option<String> KRB5_ADMIN_PRINCIPAL
public static Options defaults()
public static Options secure()
public static Options secureRequireCert()
public static boolean isSSLEnabled(Options theOptions)
Copyright © 2010-2016 Stardog Union. All Rights Reserved.