public final class Consts extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ADMIN_IP_ALLOWER
Allowed IPs for the administration application.
|
static String |
APP_NAME
Application's name.
|
static String |
ATTRIBUTION
Attributes name in LDAP for fullname.
|
static String |
CONTEXT_MODE
Context (DEV, POST_DEV, PRE_PROD, PROD) of the use.
|
static String |
COPYRIGHT
Application's copyright.
|
static String |
DATACITE_SCHEMA
DataCite schema.
|
static String |
DB_UPDATE_JOB_PERIOD
Update Database job period
|
static String |
ENCRYPTED_FIELDS
True when login/password are encoded otherwise false.
|
static String |
INIST_DOI
DOI prefix, which is given by INIST.
|
static String |
INIST_LOGIN
INIST login to use DATACITE's web services.
|
static String |
INIST_PWD
INIST password to use DATACITE's web services.
|
static String |
JETTY_ACCEPT_QUEUE_SIZE
Connector accept queue size; also known as accept backlog.
|
static String |
JETTY_ACCEPTOR_THREADS
Connector acceptor thread count; when -1, Jetty will default to
Runtime.availableProcessors() / 2, with a minimum of 1.
|
static String |
JETTY_GRACEFUL_SHUTDOWN
Connector stop timeout in milliseconds; the maximum time allowed for the
service to shutdown
|
static String |
JETTY_IO_MAX_IDLE_TIME_MS
Connector idle timeout in milliseconds; see Socket.setSoTimeout(int);
this value is interpreted as the maximum time between some progress being
made on the connection; so if a single byte is read or written, then the
timeout is reset.
|
static String |
JETTY_LOW_RESOURCES_MAX_CONNECTIONS
Low resource monitor max connections; when 0, the check is disabled.
|
static String |
JETTY_LOW_RESOURCES_MAX_IDLE_TIME_MS
Time in ms that connections will persist if listener is low on resources.
|
static String |
JETTY_LOW_RESOURCES_MAX_MEMORY
Low resource monitor max memory in bytes; when 0, the check disabled;
memory used is calculated as (totalMemory-freeMemory).
|
static String |
JETTY_LOW_RESOURCES_PERIOD
Low resource monitor period in milliseconds; when 0, low resource
monitoring is disabled.
|
static String |
JETTY_LOW_RESOURCES_THREADS
Low resource monitor, whether to check if we're low on threads.
|
static String |
JETTY_MAX_THREADS
Jetty : Thread pool max threads.
|
static String |
JETTY_MIN_THREADS
Jetty : Thread pool minimum threads.
|
static String |
JETTY_REQUEST_BUFFER_SIZE
HTTP header cache size in bytes.
|
static String |
JETTY_REQUEST_HEADER_SIZE
HTTP request header size in bytes; larger headers will allow for more
and/or larger cookies plus larger form content encoded in a URL; however,
larger headers consume more memory and can make a server more vulnerable
to denial of service attacks.
|
static String |
JETTY_RESPONSE_BUFFER_SIZE
HTTP output buffer size in bytes; a larger buffer can improve performance
by allowing a content producer to run without blocking, however larger
buffers consume more memory and may induce some latency before a client
starts processing the content.
|
static String |
JETTY_RESPONSE_HEADER_SIZE
HTTP response header size in bytes; larger headers will allow for more
and/or larger cookies and longer HTTP headers (e.g.
|
static String |
JETTY_SELECTOR_THREADS
Connector selector thread count; when -1, Jetty will default to
Runtime.availableProcessors().
|
static String |
JETTY_SO_LINGER_TIME
Connector TCP/IP SO linger time in milliseconds; when -1 is disabled; see
Socket.setSoLinger(boolean, int).
|
static String |
JETTY_THREAD_MAX_IDLE_TIME_MS
Jetty : Thread pool idle timeout in milliseconds; threads that are idle
for longer than this period may be stopped.
|
static String |
JETTY_THREAD_STOP_TIME_MS
Thread pool stop timeout in milliseconds; the maximum time allowed for
the service to shutdown.
|
static String |
JETTY_THREADS_PRIORITY
Jetty : Thread pool threads priority.
|
static String |
LOG_FORMAT
LOG format.
|
static String |
LOG_IP_ADDRESS
Log for IP client forwarded to proxy.
|
static String |
NAME
Name of the configuration file.
|
static String |
PLUGIN_AUTHENTICATION
Plugin to load the authentication system.
|
static String |
PLUGIN_PROJECT_SUFFIX
Plugin to load the project suffix database.
|
static String |
PLUGIN_TOKEN
Plugin to load the token database.
|
static String |
PLUGIN_USER_GROUP_MGT
Plugin to load the list of users and to fill group with users
|
static String |
PROXIFIED_IP
Get IP client forwarded to proxy.
|
static String |
RESTLET_MAX_CONNECTIONS_PER_HOST
Tunning Connection for Restlet
|
static String |
RESTLET_MAX_TOTAL_CONNECTIONS
Tunning connection for Restlet.
|
static String |
SERVER_CONTACT_ADMIN
Email of the administrator.
|
static String |
SERVER_HTTP_PORT
HTTP port number.
|
static String |
SERVER_HTTPS_KEYSTORE_PASSWD
HTTPS keystore password.
|
static String |
SERVER_HTTPS_KEYSTORE_PATH
HTTPS keystore path.
|
static String |
SERVER_HTTPS_PORT
HTTPS port number.
|
static String |
SERVER_HTTPS_SECRET_KEY
HTTPS password for this application.
|
static String |
SERVER_HTTPS_TRUST_STORE_PASSWD
Trust store password.
|
static String |
SERVER_HTTPS_TRUST_STORE_PATH
Trust store path.
|
static String |
SERVER_NONPROXY_HOSTS
Set of hostname on which the authentication to the proxy is disabled.
|
static String |
SERVER_PROXY_HOST
Proxy host name.
|
static String |
SERVER_PROXY_JAAS_CONTEXT
TODO.
|
static String |
SERVER_PROXY_JAAS_FILE
TODO.
|
static String |
SERVER_PROXY_JAAS_SPN
TODO.
|
static String |
SERVER_PROXY_LOGIN
Proxy login.
|
static String |
SERVER_PROXY_PORT
Proxy port number.
|
static String |
SERVER_PROXY_PWD
Proxy password.
|
static String |
SERVER_PROXY_TYPE
Type of proxy.
|
static String |
SMTP_AUTH_PWD
SMTP password.
|
static String |
SMTP_AUTH_USER
SMTP login.
|
static String |
SMTP_PROTOCOL
Protocol name.
|
static String |
SMTP_STARTTLS_ENABLE
TLS.
|
static String |
SMTP_URL
SMTP URL.
|
static String |
THRESHOLD_SPEED_PERCENT
Level for which an alert must be send.
|
static String |
TOKEN_EXPIRATION_DELAY
Set token expiration delay during creation
|
static String |
TOKEN_EXPIRATION_UNIT
Set token expiration unit during creation
|
static String |
TOKEN_KEY
key for token signature encoded with the algorithm HS256 in base64
|
static String |
USE_FORWARDED_FOR_HEADER
Option to configure IP client.
|
static String |
VERSION
Application's version.
|
Modifier | Constructor and Description |
---|---|
private |
Consts()
"Static" class cannot be instantiated
|
public static final String APP_NAME
public static final String VERSION
public static final String NAME
public static final String COPYRIGHT
public static final String CONTEXT_MODE
public static final String INIST_DOI
public static final String INIST_LOGIN
public static final String INIST_PWD
public static final String SERVER_HTTP_PORT
public static final String SERVER_HTTPS_SECRET_KEY
public static final String SERVER_HTTPS_PORT
public static final String SERVER_HTTPS_KEYSTORE_PATH
public static final String SERVER_HTTPS_KEYSTORE_PASSWD
public static final String SERVER_HTTPS_TRUST_STORE_PATH
public static final String SERVER_HTTPS_TRUST_STORE_PASSWD
public static final String SERVER_PROXY_TYPE
public static final String SERVER_PROXY_HOST
public static final String SERVER_PROXY_PORT
public static final String SERVER_PROXY_LOGIN
public static final String SERVER_PROXY_PWD
public static final String SERVER_NONPROXY_HOSTS
public static final String SERVER_PROXY_JAAS_SPN
public static final String SERVER_PROXY_JAAS_FILE
public static final String SERVER_PROXY_JAAS_CONTEXT
public static final String TOKEN_EXPIRATION_DELAY
public static final String TOKEN_EXPIRATION_UNIT
public static final String LOG_FORMAT
public static final String SERVER_CONTACT_ADMIN
public static final String SMTP_PROTOCOL
public static final String SMTP_URL
public static final String SMTP_STARTTLS_ENABLE
public static final String SMTP_AUTH_USER
public static final String SMTP_AUTH_PWD
public static final String JETTY_MIN_THREADS
public static final String JETTY_MAX_THREADS
public static final String JETTY_THREADS_PRIORITY
public static final String JETTY_THREAD_MAX_IDLE_TIME_MS
public static final String JETTY_THREAD_STOP_TIME_MS
public static final String JETTY_LOW_RESOURCES_MAX_IDLE_TIME_MS
public static final String JETTY_LOW_RESOURCES_PERIOD
public static final String JETTY_LOW_RESOURCES_MAX_MEMORY
public static final String JETTY_LOW_RESOURCES_MAX_CONNECTIONS
public static final String JETTY_LOW_RESOURCES_THREADS
public static final String JETTY_ACCEPTOR_THREADS
public static final String JETTY_SELECTOR_THREADS
public static final String JETTY_ACCEPT_QUEUE_SIZE
public static final String JETTY_REQUEST_HEADER_SIZE
public static final String JETTY_RESPONSE_HEADER_SIZE
public static final String JETTY_REQUEST_BUFFER_SIZE
public static final String JETTY_RESPONSE_BUFFER_SIZE
public static final String JETTY_IO_MAX_IDLE_TIME_MS
public static final String JETTY_SO_LINGER_TIME
public static final String JETTY_GRACEFUL_SHUTDOWN
public static final String TOKEN_KEY
public static final String PLUGIN_USER_GROUP_MGT
public static final String PLUGIN_PROJECT_SUFFIX
public static final String PLUGIN_TOKEN
public static final String PLUGIN_AUTHENTICATION
public static final String ADMIN_IP_ALLOWER
public static final String THRESHOLD_SPEED_PERCENT
public static final String RESTLET_MAX_TOTAL_CONNECTIONS
public static final String RESTLET_MAX_CONNECTIONS_PER_HOST
public static final String DATACITE_SCHEMA
public static final String DB_UPDATE_JOB_PERIOD
public static final String ATTRIBUTION
public static final String ENCRYPTED_FIELDS
public static final String USE_FORWARDED_FOR_HEADER
public static final String PROXIFIED_IP
public static final String LOG_IP_ADDRESS
Copyright © 2017–2020 CNES. All rights reserved.