ServerProperties

public class ServerProperties extends Properties implements Observable

Fields

KEY_ADMIN_EMAIL

public static final String KEY_ADMIN_EMAIL

KEY_ADMIN_NAME

public static final String KEY_ADMIN_NAME

KEY_AUTHTOKEN_CONFIG

public static final String KEY_AUTHTOKEN_CONFIG

KEY_AUTH_OPTIONAL

public static final String KEY_AUTH_OPTIONAL

KEY_BASE_PATH

public static final String KEY_BASE_PATH

KEY_BUGTRACKER_URI

public static final String KEY_BUGTRACKER_URI

KEY_BUILD_TIMESTAMP

public static final String KEY_BUILD_TIMESTAMP

KEY_CACHE_CONF_LOC

public static final String KEY_CACHE_CONF_LOC

KEY_CACHE_DISABLE

public static final String KEY_CACHE_DISABLE

KEY_CERTIFICATES_KEY_PASSWORD

public static final String KEY_CERTIFICATES_KEY_PASSWORD

KEY_CERTIFICATES_KEY_STORE_PASSWORD

public static final String KEY_CERTIFICATES_KEY_STORE_PASSWORD

KEY_CERTIFICATES_KEY_STORE_PATH

public static final String KEY_CERTIFICATES_KEY_STORE_PATH

KEY_CHECK_ENTITY_ACL_ROLES_MODE

public static final String KEY_CHECK_ENTITY_ACL_ROLES_MODE

KEY_CHOWN_SCRIPT

public static final String KEY_CHOWN_SCRIPT

KEY_CONTEXT_ROOT

public static final String KEY_CONTEXT_ROOT

KEY_DROP_OFF_BOX

public static final String KEY_DROP_OFF_BOX

KEY_FILE_MESSAGES

public static final String KEY_FILE_MESSAGES

KEY_FILE_POLICY

public static final String KEY_FILE_POLICY

KEY_FILE_SYSTEM_ROOT

public static final String KEY_FILE_SYSTEM_ROOT

KEY_FIND_QUERY_DEFAULT_ROLE

public static final String KEY_FIND_QUERY_DEFAULT_ROLE

KEY_GLOBAL_ENTITY_PERMISSIONS_FILE

public static final String KEY_GLOBAL_ENTITY_PERMISSIONS_FILE

KEY_GRPC_RESPONSE_LOG_FORMAT

public static final String KEY_GRPC_RESPONSE_LOG_FORMAT

KEY_GRPC_SERVER_PORT_HTTP

public static final String KEY_GRPC_SERVER_PORT_HTTP

KEY_GRPC_SERVER_PORT_HTTPS

public static final String KEY_GRPC_SERVER_PORT_HTTPS

KEY_HTTPS_DISABLED_CIPHER_SUITES

public static final String KEY_HTTPS_DISABLED_CIPHER_SUITES

KEY_HTTPS_DISABLED_PROTOCOLS

public static final String KEY_HTTPS_DISABLED_PROTOCOLS

KEY_HTTPS_ENABLED_CIPHER_SUITES

public static final String KEY_HTTPS_ENABLED_CIPHER_SUITES

KEY_HTTPS_ENABLED_PROTOCOLS

public static final String KEY_HTTPS_ENABLED_PROTOCOLS

KEY_INITIAL_CONNECTIONS

public static final String KEY_INITIAL_CONNECTIONS

KEY_INSERT_FILES_IN_DIR_ALLOWED_DIRS

public static final String KEY_INSERT_FILES_IN_DIR_ALLOWED_DIRS

KEY_JOB_RULES_CONFIG

public static final String KEY_JOB_RULES_CONFIG

KEY_MAIL_HANDLER_CLASS

public static final String KEY_MAIL_HANDLER_CLASS

KEY_MAIL_TO_FILE_HANDLER_LOC

public static final String KEY_MAIL_TO_FILE_HANDLER_LOC

KEY_MAX_CONNECTIONS

public static final String KEY_MAX_CONNECTIONS

KEY_MYSQL_DATABASE_NAME

public static final String KEY_MYSQL_DATABASE_NAME

KEY_MYSQL_HOST

public static final String KEY_MYSQL_HOST

KEY_MYSQL_PORT

public static final String KEY_MYSQL_PORT

KEY_MYSQL_SCHEMA_VERSION

public static final String KEY_MYSQL_SCHEMA_VERSION

KEY_MYSQL_USER_NAME

public static final String KEY_MYSQL_USER_NAME

KEY_MYSQL_USER_PASSWORD

public static final String KEY_MYSQL_USER_PASSWORD

KEY_NEW_USER_DEFAULT_ACTIVITY

public static final String KEY_NEW_USER_DEFAULT_ACTIVITY

KEY_NO_REPLY_EMAIL

public static final String KEY_NO_REPLY_EMAIL

KEY_NO_REPLY_NAME

public static final String KEY_NO_REPLY_NAME

KEY_ONE_TIME_TOKEN_EXPIRES_MS

public static final String KEY_ONE_TIME_TOKEN_EXPIRES_MS

KEY_ONE_TIME_TOKEN_REPLAYS_TIMEOUT_MS

public static final String KEY_ONE_TIME_TOKEN_REPLAYS_TIMEOUT_MS

KEY_PASSWORD_STRENGTH_REGEX

public static final String KEY_PASSWORD_STRENGTH_REGEX

KEY_PASSWORD_WEAK_MESSAGE

public static final String KEY_PASSWORD_WEAK_MESSAGE

KEY_POLICY_COMPONENT

public static final String KEY_POLICY_COMPONENT

KEY_PROJECT_NAME

public static final String KEY_PROJECT_NAME

KEY_PROJECT_REVISTION

public static final String KEY_PROJECT_REVISTION

KEY_PROJECT_VERSION

public static final String KEY_PROJECT_VERSION

KEY_QUERY_FILTER_ENTITIES_WITHOUT_RETRIEVE_PERMISSIONS

public static final String KEY_QUERY_FILTER_ENTITIES_WITHOUT_RETRIEVE_PERMISSIONS

KEY_REDIRECT_HTTP_TO_HTTPS_PORT

public static final String KEY_REDIRECT_HTTP_TO_HTTPS_PORT

KEY_REST_RESPONSE_LOG_FORMAT

public static final String KEY_REST_RESPONSE_LOG_FORMAT

KEY_SERVER_BIND_ADDRESS

public static final String KEY_SERVER_BIND_ADDRESS

KEY_SERVER_NAME

public static final String KEY_SERVER_NAME

KEY_SERVER_OWNER

public static final String KEY_SERVER_OWNER

KEY_SERVER_PORT_HTTP

public static final String KEY_SERVER_PORT_HTTP

KEY_SERVER_PORT_HTTPS

public static final String KEY_SERVER_PORT_HTTPS

KEY_SERVER_SIDE_SCRIPTING_BIN_DIR

public static final String KEY_SERVER_SIDE_SCRIPTING_BIN_DIR

KEY_SERVER_SIDE_SCRIPTING_BIN_DIRS

public static final String KEY_SERVER_SIDE_SCRIPTING_BIN_DIRS

KEY_SERVER_SIDE_SCRIPTING_HOME_DIR

public static final String KEY_SERVER_SIDE_SCRIPTING_HOME_DIR

KEY_SERVER_SIDE_SCRIPTING_WORKING_DIR

public static final String KEY_SERVER_SIDE_SCRIPTING_WORKING_DIR

KEY_SESSION_TIMEOUT_MS

public static final String KEY_SESSION_TIMEOUT_MS

KEY_SHARED_FOLDER

public static final String KEY_SHARED_FOLDER

KEY_SUDO_PASSWORD

public static final String KEY_SUDO_PASSWORD

KEY_TIMEZONE

public static final String KEY_TIMEZONE

KEY_TMP_FILES

public static final String KEY_TMP_FILES

KEY_TRANSACTION_BENCHMARK_ENABLED

public static final String KEY_TRANSACTION_BENCHMARK_ENABLED

KEY_USER_FOLDERS

public static final String KEY_USER_FOLDERS

KEY_USER_NAME_INVALID_MESSAGE

public static final String KEY_USER_NAME_INVALID_MESSAGE

KEY_USER_NAME_VALID_REGEX

public static final String KEY_USER_NAME_VALID_REGEX

KEY_USER_SOURCES_INI_FILE

public static final String KEY_USER_SOURCES_INI_FILE

KEY_WEBUI_HTTP_HEADER_CACHE_MAX_AGE

public static final String KEY_WEBUI_HTTP_HEADER_CACHE_MAX_AGE

Methods

acceptObserver

public boolean acceptObserver(Observer o)

initServerProperties

public static ServerProperties initServerProperties()

Read the config files and initialize the server properties.

Throws:

notifyObservers

public void notifyObservers(String e)

setProperty

public synchronized Object setProperty(String key, String value)