Class UnityServerConfiguration
java.lang.Object
eu.unicore.util.configuration.PropertiesHelper
eu.unicore.util.configuration.FilePropertiesHelper
pl.edu.icm.unity.engine.api.config.UnityFilePropertiesHelper
pl.edu.icm.unity.engine.api.config.UnityServerConfiguration
- All Implemented Interfaces:
eu.unicore.util.configuration.PropertiesHelperAPI
,eu.unicore.util.configuration.UpdateableConfiguration
,Cloneable
,Runnable
Principal options are defined here: ids and corresponding default values.
- Author:
- K. Benedyczak
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class eu.unicore.util.configuration.FilePropertiesHelper
file, lastAccess
Fields inherited from class eu.unicore.util.configuration.PropertiesHelper
genericListeners, metadata, prefix, properties, propertyFocusedListeners, structuredPrefixes
-
Constructor Summary
ConstructorDescriptionUnityServerConfiguration
(org.springframework.core.env.Environment env, ConfigurationLocationProvider locProvider) -
Method Summary
Modifier and TypeMethodDescriptiongetConfiguredTheme
(String themeConfigKey, String defaultTheme) Returns either a theme configured with the key given as argument or the default theme if the specific one is not defined.int
getEndpointAuth
(String endpointKey) int
int
getSortedListKeys
(String listPrefix) boolean
isLocaleSupported
(Locale toSearch) static Locale
safeLocaleDecode
(String inputRaw) Methods inherited from class pl.edu.icm.unity.engine.api.config.UnityFilePropertiesHelper
getLocalizedString
Methods inherited from class eu.unicore.util.configuration.FilePropertiesHelper
getFile, hasFileChanged, load, load, reload, reloadIfChanged, run
Methods inherited from class eu.unicore.util.configuration.PropertiesHelper
addPropertyChangeListener, canHaveSubkeys, checkBounds, checkConstraints, checkConstraints, checkDeprecated, checkPropertyConstraints, checkStructuredListConstraints, clone, cloneTo, filterChanged, findUnknown, getBooleanValue, getClassValue, getDoubleValue, getDoubleValueNoCheck, getEnumValue, getFileValue, getFileValueAsString, getIntValue, getIntValueNoCheck, getKeyDescription, getListOfValues, getLocalizedValue, getLongValue, getLongValueNoCheck, getMetadata, getMetadataKey, getRawProperty, getSortedNumKeys, getSortedStringKeys, getStructuredListKeys, getSubkeyBooleanValue, getSubkeyEnumValue, getSubkeyIntValue, getSubkeyLongValue, getSubkeyValue, getValue, isSet, logValue, notifyAllWithKey, notifyFocusedListeners, notifyGenericListeners, removePropertyChangeListener, setProperties, setProperty
-
Field Details
-
PROFILE_PRODUCTION
- See Also:
-
CONFIGURATION_FILE
- See Also:
-
DEFAULT_EMAIL_CHANNEL
- See Also:
-
DEFAULT_SMS_CHANNEL
- See Also:
-
SYSTEM_ALLOW_FULL_HTML
- See Also:
-
BASE_PREFIX
- See Also:
-
P
- See Also:
-
BULK_FILES_DOWNLOAD_TIMEOUT
- See Also:
-
BULK_FILES_CONNECTION_TIMEOUT
- See Also:
-
ENABLED_LOCALES
- See Also:
-
DEFAULT_LOCALE
- See Also:
-
MAIL_CONF
- See Also:
-
SMS_CONF
- See Also:
-
TEMPLATES_CONF
- See Also:
-
PKI_CONF
- See Also:
-
SCHEDULED_THREAD_POOL_SIZE
- See Also:
-
CONCURRENT_THREAD_POOL_SIZE
- See Also:
-
USE_CONFIG_FILE_AS_INITIAL_TEMPLATE_ONLY
- See Also:
-
IGNORE_CONFIGURED_CONTENTS_SETTING
- See Also:
-
RELOAD_MSG_TEMPLATES
- See Also:
-
CONFIG_ONLY_ERA_CONTROL
- See Also:
-
LOGOUT_MODE
- See Also:
-
DEFAULT_WEB_CONTENT_PATH
- See Also:
-
MESSAGES_DIRECTORY
- See Also:
-
THEME
- See Also:
-
CONFIRMATION_THEME
- See Also:
-
CONFIRMATION_TEMPLATE
- See Also:
-
WELL_KNOWN_URL_THEME
- See Also:
-
WELL_KNOWN_URL_TEMPLATE
- See Also:
-
UNITYGW_WEB_CONTENT_PATH
- See Also:
-
ALLOW_FULL_HTML
- See Also:
-
DEFAULT_WEB_PATH
- See Also:
-
REDIRECT_MODE
- See Also:
-
AUDITEVENTLOGS_ENABLED
- See Also:
-
IMPORT_PFX
- See Also:
-
ENDPOINTS
- See Also:
-
ENDPOINT_DESCRIPTION
- See Also:
-
ENDPOINT_TYPE
- See Also:
-
ENDPOINT_CONFIGURATION
- See Also:
-
ENDPOINT_ADDRESS
- See Also:
-
ENDPOINT_NAME
- See Also:
-
ENDPOINT_DISPLAYED_NAME
- See Also:
-
ENDPOINT_AUTHENTICATORS
- See Also:
-
ENDPOINT_REALM
- See Also:
-
INITIALIZERS
- See Also:
-
UPDATE_INTERVAL
- See Also:
-
WORKSPACE_DIRECTORY
- See Also:
-
MAIN_CREDENTIAL
- See Also:
-
MAIN_TRUSTSTORE
- See Also:
-
REALMS
- See Also:
-
REALM_NAME
- See Also:
-
REALM_DESCRIPTION
- See Also:
-
REALM_BLOCK_AFTER_UNSUCCESSFUL
- See Also:
-
REALM_BLOCK_FOR
- See Also:
-
REALM_MAX_INACTIVITY
- See Also:
-
REALM_REMEMBER_ME_FOR
- See Also:
-
REALM_REMEMBER_ME_POLICY
- See Also:
-
AUTHENTICATORS
- See Also:
-
AUTHENTICATOR_NAME
- See Also:
-
AUTHENTICATOR_TYPE
- See Also:
-
AUTHENTICATOR_CREDENTIAL
- See Also:
-
AUTHENTICATOR_VERIFICATOR_CONFIG
- See Also:
-
AUTHENTICATION_FLOW
- See Also:
-
AUTHENTICATION_FLOW_NAME
- See Also:
-
AUTHENTICATION_FLOW_POLICY
- See Also:
-
AUTHENTICATION_FLOW_POLICY_CONFIGURATION
- See Also:
-
AUTHENTICATION_FLOW_FIRST_FACTOR_AUTHENTICATORS
- See Also:
-
AUTHENTICATION_FLOW_SECOND_FACTOR_AUTHENTICATORS
- See Also:
-
RE_AUTHENTICATION_POLICY
- See Also:
-
RE_AUTHENTICATION_GRACE_TIME
- See Also:
-
RE_AUTHENTICATION_BLOCK_ON_NONE
- See Also:
-
CREDENTIALS
- See Also:
-
CREDENTIAL_NAME
- See Also:
-
CREDENTIAL_TYPE
- See Also:
-
CREDENTIAL_DESCRIPTION
- See Also:
-
CREDENTIAL_CONFIGURATION
- See Also:
-
CREDENTIAL_REQS
- See Also:
-
CREDENTIAL_REQ_NAME
- See Also:
-
CREDENTIAL_REQ_DESCRIPTION
- See Also:
-
CREDENTIAL_REQ_CONTENTS
- See Also:
-
INITIAL_ADMIN_USER
- See Also:
-
INITIAL_ADMIN_PASSWORD
- See Also:
-
INITIAL_ADMIN_USER_OUTDATED
- See Also:
-
TRANSLATION_PROFILES
- See Also:
-
EMAIL_CONFIRMATION_REQUEST_LIMIT_OLD
- See Also:
-
EMAIL_CONFIRMATION_REQUEST_LIMIT
- See Also:
-
CONFIRMATION_DEFAULT_RETURN_URL
- See Also:
-
CONFIRMATION_AUTO_REDIRECT
- See Also:
-
ACCOUNT_REMOVED_NOTIFICATION
- See Also:
-
ACCOUNT_DISABLED_NOTIFICATION
- See Also:
-
ACCOUNT_ACTIVATED_NOTIFICATION
- See Also:
-
MOBILE_CONFIRMATION_REQUEST_LIMIT
- See Also:
-
AUTHZ_CACHE_MS
- See Also:
-
MAX_REMOTE_AUTHN_TIME_S
- See Also:
-
SCRIPTS
- See Also:
-
SCRIPT_FILE
- See Also:
-
SCRIPT_TYPE
- See Also:
-
SCRIPT_TRIGGER
- See Also:
-
EXTERNAL_NOTIFICATION_PFX
- See Also:
-
EXTERNAL_NOTIFICATION_NAME
- See Also:
-
EXTERNAL_NOTIFICATION_SUPPORTS_TEMPLATES
- See Also:
-
EXTERNAL_NOTIFICATION_FILE
- See Also:
-
ENABLE_LOW_LEVEL_EVENTS
- See Also:
-
RESTRICT_FILE_SYSTEM_ACCESS
- See Also:
-
FILE_SIZE_LIMIT
- See Also:
-
DB_BACKUP_FILE_SIZE_LIMIT
- See Also:
-
MAX_CONCURRENT_PASSWORD_CHECKS
- See Also:
-
EXTENSION_PFX
- See Also:
-
defaults
-
SUPPORTED_LOCALES
-
-
Constructor Details
-
UnityServerConfiguration
@Autowired public UnityServerConfiguration(org.springframework.core.env.Environment env, ConfigurationLocationProvider locProvider) throws eu.unicore.util.configuration.ConfigurationException, IOException - Throws:
eu.unicore.util.configuration.ConfigurationException
IOException
-
-
Method Details
-
isLocaleSupported
-
safeLocaleDecode
-
getJettyProperties
-
getDefaultLocale
-
getEnabledLocales
-
getPKIConfiguration
-
getFileSizeLimit
public int getFileSizeLimit() -
getDBBackupFileSizeLimit
-
getEndpointAuth
-
getConfiguredTheme
Returns either a theme configured with the key given as argument or the default theme if the specific one is not defined. If neither is available returns default theme.- Parameters:
themeConfigKey
-- Returns:
- configuration theme
-
getContentInitializersConfiguration
-
getSortedListKeys
- Returns:
- list of keys which have a common prefix 'listPrefix'. Values have only the suffix.
-
getProperties
-
getEmailConfirmationRequestLimit
public int getEmailConfirmationRequestLimit() -
getMaxConcurrentPasswordChecks
public int getMaxConcurrentPasswordChecks()
-