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
,java.lang.Cloneable
,java.lang.Runnable
@Component public class UnityServerConfiguration extends UnityFilePropertiesHelper
Principal options are defined here: ids and corresponding default values.- Author:
- K. Benedyczak
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UnityServerConfiguration.LogoutMode
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACCOUNT_ACTIVATED_NOTIFICATION
static java.lang.String
ACCOUNT_DISABLED_NOTIFICATION
static java.lang.String
ACCOUNT_REMOVED_NOTIFICATION
static java.lang.String
ALLOW_FULL_HTML
static java.lang.String
AUDITEVENTLOGS_ENABLED
static java.lang.String
AUTHENTICATION_FLOW
static java.lang.String
AUTHENTICATION_FLOW_FIRST_FACTOR_AUTHENTICATORS
static java.lang.String
AUTHENTICATION_FLOW_NAME
static java.lang.String
AUTHENTICATION_FLOW_POLICY
static java.lang.String
AUTHENTICATION_FLOW_SECOND_FACTOR_AUTHENTICATORS
static java.lang.String
AUTHENTICATOR_CREDENTIAL
static java.lang.String
AUTHENTICATOR_NAME
static java.lang.String
AUTHENTICATOR_TYPE
static java.lang.String
AUTHENTICATOR_VERIFICATOR_CONFIG
static java.lang.String
AUTHENTICATORS
static java.lang.String
AUTHZ_CACHE_MS
static java.lang.String
BASE_PREFIX
static java.lang.String
CONFIG_ONLY_ERA_CONTROL
static java.lang.String
CONFIGURATION_FILE
static java.lang.String
CONFIRMATION_AUTO_REDIRECT
static java.lang.String
CONFIRMATION_DEFAULT_RETURN_URL
static java.lang.String
CONFIRMATION_TEMPLATE
static java.lang.String
CONFIRMATION_THEME
static java.lang.String
CREDENTIAL_CONFIGURATION
static java.lang.String
CREDENTIAL_DESCRIPTION
static java.lang.String
CREDENTIAL_NAME
static java.lang.String
CREDENTIAL_REQ_CONTENTS
static java.lang.String
CREDENTIAL_REQ_DESCRIPTION
static java.lang.String
CREDENTIAL_REQ_NAME
static java.lang.String
CREDENTIAL_REQS
static java.lang.String
CREDENTIAL_TYPE
static java.lang.String
CREDENTIALS
static java.lang.String
DEFAULT_EMAIL_CHANNEL
static java.lang.String
DEFAULT_LOCALE
static java.lang.String
DEFAULT_SMS_CHANNEL
static java.lang.String
DEFAULT_WEB_CONTENT_PATH
static java.lang.String
DEFAULT_WEB_PATH
static java.util.Map<java.lang.String,eu.unicore.util.configuration.PropertyMD>
defaults
static java.lang.String
EMAIL_CONFIRMATION_REQUEST_LIMIT
static java.lang.String
EMAIL_CONFIRMATION_REQUEST_LIMIT_OLD
static java.lang.String
ENABLE_LOW_LEVEL_EVENTS
static java.lang.String
ENABLED_LOCALES
static java.lang.String
ENDPOINT_ADDRESS
static java.lang.String
ENDPOINT_AUTHENTICATORS
static java.lang.String
ENDPOINT_CONFIGURATION
static java.lang.String
ENDPOINT_DESCRIPTION
static java.lang.String
ENDPOINT_DISPLAYED_NAME
static java.lang.String
ENDPOINT_NAME
static java.lang.String
ENDPOINT_REALM
static java.lang.String
ENDPOINT_TYPE
static java.lang.String
ENDPOINTS
static java.lang.String
EXTENSION_PFX
static java.lang.String
EXTERNAL_NOTIFICATION_FILE
static java.lang.String
EXTERNAL_NOTIFICATION_NAME
static java.lang.String
EXTERNAL_NOTIFICATION_PFX
static java.lang.String
EXTERNAL_NOTIFICATION_SUPPORTS_TEMPLATES
static java.lang.String
FILE_SIZE_LIMIT
static java.lang.String
IGNORE_CONFIGURED_CONTENTS_SETTING
static java.lang.String
IMPORT_PFX
static java.lang.String
INITIAL_ADMIN_PASSWORD
static java.lang.String
INITIAL_ADMIN_USER
static java.lang.String
INITIAL_ADMIN_USER_OUTDATED
static java.lang.String
INITIALIZERS
static java.lang.String
LOGOUT_MODE
static java.lang.String
MAIL_CONF
static java.lang.String
MAIN_CREDENTIAL
static java.lang.String
MAIN_TRUSTSTORE
static java.lang.String
MAX_CONCURRENT_PASSWORD_CHECKS
static java.lang.String
MESSAGES_DIRECTORY
static java.lang.String
MOBILE_CONFIRMATION_REQUEST_LIMIT
static java.lang.String
P
static java.lang.String
PKI_CONF
static java.lang.String
PROFILE_PRODUCTION
static java.lang.String
RE_AUTHENTICATION_BLOCK_ON_NONE
static java.lang.String
RE_AUTHENTICATION_GRACE_TIME
static java.lang.String
RE_AUTHENTICATION_POLICY
static java.lang.String
REALM_BLOCK_AFTER_UNSUCCESSFUL
static java.lang.String
REALM_BLOCK_FOR
static java.lang.String
REALM_DESCRIPTION
static java.lang.String
REALM_MAX_INACTIVITY
static java.lang.String
REALM_NAME
static java.lang.String
REALM_REMEMBER_ME_FOR
static java.lang.String
REALM_REMEMBER_ME_POLICY
static java.lang.String
REALMS
static java.lang.String
REDIRECT_MODE
static java.lang.String
RELOAD_MSG_TEMPLATES
static java.lang.String
RESTRICT_FILE_SYSTEM_ACCESS
static java.lang.String
SCRIPT_FILE
static java.lang.String
SCRIPT_TRIGGER
static java.lang.String
SCRIPT_TYPE
static java.lang.String
SCRIPTS
static java.lang.String
SMS_CONF
static java.util.Map<java.lang.String,java.util.Locale>
SUPPORTED_LOCALES
static java.lang.String
SYSTEM_ALLOW_FULL_HTML
static java.lang.String
TEMPLATES_CONF
static java.lang.String
THEME
static java.lang.String
THREAD_POOL_SIZE
static java.lang.String
TRANSLATION_PROFILES
static java.lang.String
UNITYGW_WEB_CONTENT_PATH
static java.lang.String
UPDATE_INTERVAL
static java.lang.String
USE_CONFIG_FILE_AS_INITIAL_TEMPLATE_ONLY
static java.lang.String
WELL_KNOWN_URL_TEMPLATE
static java.lang.String
WELL_KNOWN_URL_THEME
static java.lang.String
WORKSPACE_DIRECTORY
-
Constructor Summary
Constructors Constructor Description UnityServerConfiguration(org.springframework.core.env.Environment env, ConfigurationLocationProvider locProvider)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConfiguredTheme(java.lang.String themeConfigKey, java.lang.String defaultTheme)
Returns either a theme configured with the key given as argument or the default theme if the specific one is not defined.java.util.List<ScriptConfiguration>
getContentInitializersConfiguration()
java.util.Locale
getDefaultLocale()
int
getEmailConfirmationRequestLimit()
java.util.Map<java.lang.String,java.util.Locale>
getEnabledLocales()
java.util.List<java.lang.String>
getEndpointAuth(java.lang.String endpointKey)
int
getFileSizeLimit()
UnityHttpServerConfiguration
getJettyProperties()
int
getMaxConcurrentPasswordChecks()
UnityPKIConfiguration
getPKIConfiguration()
java.util.Properties
getProperties()
java.util.List<java.lang.String>
getSortedListKeys(java.lang.String listPrefix)
boolean
isLocaleSupported(java.util.Locale toSearch)
static java.util.Locale
safeLocaleDecode(java.lang.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 Detail
-
PROFILE_PRODUCTION
public static final java.lang.String PROFILE_PRODUCTION
- See Also:
- Constant Field Values
-
CONFIGURATION_FILE
public static final java.lang.String CONFIGURATION_FILE
- See Also:
- Constant Field Values
-
DEFAULT_EMAIL_CHANNEL
public static final java.lang.String DEFAULT_EMAIL_CHANNEL
- See Also:
- Constant Field Values
-
DEFAULT_SMS_CHANNEL
public static final java.lang.String DEFAULT_SMS_CHANNEL
- See Also:
- Constant Field Values
-
SYSTEM_ALLOW_FULL_HTML
public static final java.lang.String SYSTEM_ALLOW_FULL_HTML
- See Also:
- Constant Field Values
-
BASE_PREFIX
public static final java.lang.String BASE_PREFIX
- See Also:
- Constant Field Values
-
P
public static final java.lang.String P
- See Also:
- Constant Field Values
-
ENABLED_LOCALES
public static final java.lang.String ENABLED_LOCALES
- See Also:
- Constant Field Values
-
DEFAULT_LOCALE
public static final java.lang.String DEFAULT_LOCALE
- See Also:
- Constant Field Values
-
MAIL_CONF
public static final java.lang.String MAIL_CONF
- See Also:
- Constant Field Values
-
SMS_CONF
public static final java.lang.String SMS_CONF
- See Also:
- Constant Field Values
-
TEMPLATES_CONF
public static final java.lang.String TEMPLATES_CONF
- See Also:
- Constant Field Values
-
PKI_CONF
public static final java.lang.String PKI_CONF
- See Also:
- Constant Field Values
-
THREAD_POOL_SIZE
public static final java.lang.String THREAD_POOL_SIZE
- See Also:
- Constant Field Values
-
USE_CONFIG_FILE_AS_INITIAL_TEMPLATE_ONLY
public static final java.lang.String USE_CONFIG_FILE_AS_INITIAL_TEMPLATE_ONLY
- See Also:
- Constant Field Values
-
IGNORE_CONFIGURED_CONTENTS_SETTING
public static final java.lang.String IGNORE_CONFIGURED_CONTENTS_SETTING
- See Also:
- Constant Field Values
-
RELOAD_MSG_TEMPLATES
public static final java.lang.String RELOAD_MSG_TEMPLATES
- See Also:
- Constant Field Values
-
CONFIG_ONLY_ERA_CONTROL
public static final java.lang.String CONFIG_ONLY_ERA_CONTROL
- See Also:
- Constant Field Values
-
LOGOUT_MODE
public static final java.lang.String LOGOUT_MODE
- See Also:
- Constant Field Values
-
DEFAULT_WEB_CONTENT_PATH
public static final java.lang.String DEFAULT_WEB_CONTENT_PATH
- See Also:
- Constant Field Values
-
MESSAGES_DIRECTORY
public static final java.lang.String MESSAGES_DIRECTORY
- See Also:
- Constant Field Values
-
THEME
public static final java.lang.String THEME
- See Also:
- Constant Field Values
-
CONFIRMATION_THEME
public static final java.lang.String CONFIRMATION_THEME
- See Also:
- Constant Field Values
-
CONFIRMATION_TEMPLATE
public static final java.lang.String CONFIRMATION_TEMPLATE
- See Also:
- Constant Field Values
-
WELL_KNOWN_URL_THEME
public static final java.lang.String WELL_KNOWN_URL_THEME
- See Also:
- Constant Field Values
-
WELL_KNOWN_URL_TEMPLATE
public static final java.lang.String WELL_KNOWN_URL_TEMPLATE
- See Also:
- Constant Field Values
-
UNITYGW_WEB_CONTENT_PATH
public static final java.lang.String UNITYGW_WEB_CONTENT_PATH
- See Also:
- Constant Field Values
-
ALLOW_FULL_HTML
public static final java.lang.String ALLOW_FULL_HTML
- See Also:
- Constant Field Values
-
DEFAULT_WEB_PATH
public static final java.lang.String DEFAULT_WEB_PATH
- See Also:
- Constant Field Values
-
REDIRECT_MODE
public static final java.lang.String REDIRECT_MODE
- See Also:
- Constant Field Values
-
AUDITEVENTLOGS_ENABLED
public static final java.lang.String AUDITEVENTLOGS_ENABLED
- See Also:
- Constant Field Values
-
IMPORT_PFX
public static final java.lang.String IMPORT_PFX
- See Also:
- Constant Field Values
-
ENDPOINTS
public static final java.lang.String ENDPOINTS
- See Also:
- Constant Field Values
-
ENDPOINT_DESCRIPTION
public static final java.lang.String ENDPOINT_DESCRIPTION
- See Also:
- Constant Field Values
-
ENDPOINT_TYPE
public static final java.lang.String ENDPOINT_TYPE
- See Also:
- Constant Field Values
-
ENDPOINT_CONFIGURATION
public static final java.lang.String ENDPOINT_CONFIGURATION
- See Also:
- Constant Field Values
-
ENDPOINT_ADDRESS
public static final java.lang.String ENDPOINT_ADDRESS
- See Also:
- Constant Field Values
-
ENDPOINT_NAME
public static final java.lang.String ENDPOINT_NAME
- See Also:
- Constant Field Values
-
ENDPOINT_DISPLAYED_NAME
public static final java.lang.String ENDPOINT_DISPLAYED_NAME
- See Also:
- Constant Field Values
-
ENDPOINT_AUTHENTICATORS
public static final java.lang.String ENDPOINT_AUTHENTICATORS
- See Also:
- Constant Field Values
-
ENDPOINT_REALM
public static final java.lang.String ENDPOINT_REALM
- See Also:
- Constant Field Values
-
INITIALIZERS
public static final java.lang.String INITIALIZERS
- See Also:
- Constant Field Values
-
UPDATE_INTERVAL
public static final java.lang.String UPDATE_INTERVAL
- See Also:
- Constant Field Values
-
WORKSPACE_DIRECTORY
public static final java.lang.String WORKSPACE_DIRECTORY
- See Also:
- Constant Field Values
-
MAIN_CREDENTIAL
public static final java.lang.String MAIN_CREDENTIAL
- See Also:
- Constant Field Values
-
MAIN_TRUSTSTORE
public static final java.lang.String MAIN_TRUSTSTORE
- See Also:
- Constant Field Values
-
REALMS
public static final java.lang.String REALMS
- See Also:
- Constant Field Values
-
REALM_NAME
public static final java.lang.String REALM_NAME
- See Also:
- Constant Field Values
-
REALM_DESCRIPTION
public static final java.lang.String REALM_DESCRIPTION
- See Also:
- Constant Field Values
-
REALM_BLOCK_AFTER_UNSUCCESSFUL
public static final java.lang.String REALM_BLOCK_AFTER_UNSUCCESSFUL
- See Also:
- Constant Field Values
-
REALM_BLOCK_FOR
public static final java.lang.String REALM_BLOCK_FOR
- See Also:
- Constant Field Values
-
REALM_MAX_INACTIVITY
public static final java.lang.String REALM_MAX_INACTIVITY
- See Also:
- Constant Field Values
-
REALM_REMEMBER_ME_FOR
public static final java.lang.String REALM_REMEMBER_ME_FOR
- See Also:
- Constant Field Values
-
REALM_REMEMBER_ME_POLICY
public static final java.lang.String REALM_REMEMBER_ME_POLICY
- See Also:
- Constant Field Values
-
AUTHENTICATORS
public static final java.lang.String AUTHENTICATORS
- See Also:
- Constant Field Values
-
AUTHENTICATOR_NAME
public static final java.lang.String AUTHENTICATOR_NAME
- See Also:
- Constant Field Values
-
AUTHENTICATOR_TYPE
public static final java.lang.String AUTHENTICATOR_TYPE
- See Also:
- Constant Field Values
-
AUTHENTICATOR_CREDENTIAL
public static final java.lang.String AUTHENTICATOR_CREDENTIAL
- See Also:
- Constant Field Values
-
AUTHENTICATOR_VERIFICATOR_CONFIG
public static final java.lang.String AUTHENTICATOR_VERIFICATOR_CONFIG
- See Also:
- Constant Field Values
-
AUTHENTICATION_FLOW
public static final java.lang.String AUTHENTICATION_FLOW
- See Also:
- Constant Field Values
-
AUTHENTICATION_FLOW_NAME
public static final java.lang.String AUTHENTICATION_FLOW_NAME
- See Also:
- Constant Field Values
-
AUTHENTICATION_FLOW_POLICY
public static final java.lang.String AUTHENTICATION_FLOW_POLICY
- See Also:
- Constant Field Values
-
AUTHENTICATION_FLOW_FIRST_FACTOR_AUTHENTICATORS
public static final java.lang.String AUTHENTICATION_FLOW_FIRST_FACTOR_AUTHENTICATORS
- See Also:
- Constant Field Values
-
AUTHENTICATION_FLOW_SECOND_FACTOR_AUTHENTICATORS
public static final java.lang.String AUTHENTICATION_FLOW_SECOND_FACTOR_AUTHENTICATORS
- See Also:
- Constant Field Values
-
RE_AUTHENTICATION_POLICY
public static final java.lang.String RE_AUTHENTICATION_POLICY
- See Also:
- Constant Field Values
-
RE_AUTHENTICATION_GRACE_TIME
public static final java.lang.String RE_AUTHENTICATION_GRACE_TIME
- See Also:
- Constant Field Values
-
RE_AUTHENTICATION_BLOCK_ON_NONE
public static final java.lang.String RE_AUTHENTICATION_BLOCK_ON_NONE
- See Also:
- Constant Field Values
-
CREDENTIALS
public static final java.lang.String CREDENTIALS
- See Also:
- Constant Field Values
-
CREDENTIAL_NAME
public static final java.lang.String CREDENTIAL_NAME
- See Also:
- Constant Field Values
-
CREDENTIAL_TYPE
public static final java.lang.String CREDENTIAL_TYPE
- See Also:
- Constant Field Values
-
CREDENTIAL_DESCRIPTION
public static final java.lang.String CREDENTIAL_DESCRIPTION
- See Also:
- Constant Field Values
-
CREDENTIAL_CONFIGURATION
public static final java.lang.String CREDENTIAL_CONFIGURATION
- See Also:
- Constant Field Values
-
CREDENTIAL_REQS
public static final java.lang.String CREDENTIAL_REQS
- See Also:
- Constant Field Values
-
CREDENTIAL_REQ_NAME
public static final java.lang.String CREDENTIAL_REQ_NAME
- See Also:
- Constant Field Values
-
CREDENTIAL_REQ_DESCRIPTION
public static final java.lang.String CREDENTIAL_REQ_DESCRIPTION
- See Also:
- Constant Field Values
-
CREDENTIAL_REQ_CONTENTS
public static final java.lang.String CREDENTIAL_REQ_CONTENTS
- See Also:
- Constant Field Values
-
INITIAL_ADMIN_USER
public static final java.lang.String INITIAL_ADMIN_USER
- See Also:
- Constant Field Values
-
INITIAL_ADMIN_PASSWORD
public static final java.lang.String INITIAL_ADMIN_PASSWORD
- See Also:
- Constant Field Values
-
INITIAL_ADMIN_USER_OUTDATED
public static final java.lang.String INITIAL_ADMIN_USER_OUTDATED
- See Also:
- Constant Field Values
-
TRANSLATION_PROFILES
public static final java.lang.String TRANSLATION_PROFILES
- See Also:
- Constant Field Values
-
EMAIL_CONFIRMATION_REQUEST_LIMIT_OLD
public static final java.lang.String EMAIL_CONFIRMATION_REQUEST_LIMIT_OLD
- See Also:
- Constant Field Values
-
EMAIL_CONFIRMATION_REQUEST_LIMIT
public static final java.lang.String EMAIL_CONFIRMATION_REQUEST_LIMIT
- See Also:
- Constant Field Values
-
CONFIRMATION_DEFAULT_RETURN_URL
public static final java.lang.String CONFIRMATION_DEFAULT_RETURN_URL
- See Also:
- Constant Field Values
-
CONFIRMATION_AUTO_REDIRECT
public static final java.lang.String CONFIRMATION_AUTO_REDIRECT
- See Also:
- Constant Field Values
-
ACCOUNT_REMOVED_NOTIFICATION
public static final java.lang.String ACCOUNT_REMOVED_NOTIFICATION
- See Also:
- Constant Field Values
-
ACCOUNT_DISABLED_NOTIFICATION
public static final java.lang.String ACCOUNT_DISABLED_NOTIFICATION
- See Also:
- Constant Field Values
-
ACCOUNT_ACTIVATED_NOTIFICATION
public static final java.lang.String ACCOUNT_ACTIVATED_NOTIFICATION
- See Also:
- Constant Field Values
-
MOBILE_CONFIRMATION_REQUEST_LIMIT
public static final java.lang.String MOBILE_CONFIRMATION_REQUEST_LIMIT
- See Also:
- Constant Field Values
-
AUTHZ_CACHE_MS
public static final java.lang.String AUTHZ_CACHE_MS
- See Also:
- Constant Field Values
-
SCRIPTS
public static final java.lang.String SCRIPTS
- See Also:
- Constant Field Values
-
SCRIPT_FILE
public static final java.lang.String SCRIPT_FILE
- See Also:
- Constant Field Values
-
SCRIPT_TYPE
public static final java.lang.String SCRIPT_TYPE
- See Also:
- Constant Field Values
-
SCRIPT_TRIGGER
public static final java.lang.String SCRIPT_TRIGGER
- See Also:
- Constant Field Values
-
EXTERNAL_NOTIFICATION_PFX
public static final java.lang.String EXTERNAL_NOTIFICATION_PFX
- See Also:
- Constant Field Values
-
EXTERNAL_NOTIFICATION_NAME
public static final java.lang.String EXTERNAL_NOTIFICATION_NAME
- See Also:
- Constant Field Values
-
EXTERNAL_NOTIFICATION_SUPPORTS_TEMPLATES
public static final java.lang.String EXTERNAL_NOTIFICATION_SUPPORTS_TEMPLATES
- See Also:
- Constant Field Values
-
EXTERNAL_NOTIFICATION_FILE
public static final java.lang.String EXTERNAL_NOTIFICATION_FILE
- See Also:
- Constant Field Values
-
ENABLE_LOW_LEVEL_EVENTS
public static final java.lang.String ENABLE_LOW_LEVEL_EVENTS
- See Also:
- Constant Field Values
-
RESTRICT_FILE_SYSTEM_ACCESS
public static final java.lang.String RESTRICT_FILE_SYSTEM_ACCESS
- See Also:
- Constant Field Values
-
FILE_SIZE_LIMIT
public static final java.lang.String FILE_SIZE_LIMIT
- See Also:
- Constant Field Values
-
MAX_CONCURRENT_PASSWORD_CHECKS
public static final java.lang.String MAX_CONCURRENT_PASSWORD_CHECKS
- See Also:
- Constant Field Values
-
EXTENSION_PFX
public static final java.lang.String EXTENSION_PFX
- See Also:
- Constant Field Values
-
defaults
public static final java.util.Map<java.lang.String,eu.unicore.util.configuration.PropertyMD> defaults
-
SUPPORTED_LOCALES
public static final java.util.Map<java.lang.String,java.util.Locale> SUPPORTED_LOCALES
-
-
Constructor Detail
-
UnityServerConfiguration
@Autowired public UnityServerConfiguration(org.springframework.core.env.Environment env, ConfigurationLocationProvider locProvider) throws eu.unicore.util.configuration.ConfigurationException, java.io.IOException
- Throws:
eu.unicore.util.configuration.ConfigurationException
java.io.IOException
-
-
Method Detail
-
isLocaleSupported
public boolean isLocaleSupported(java.util.Locale toSearch)
-
safeLocaleDecode
public static java.util.Locale safeLocaleDecode(java.lang.String inputRaw)
-
getJettyProperties
public UnityHttpServerConfiguration getJettyProperties()
-
getDefaultLocale
public java.util.Locale getDefaultLocale()
-
getEnabledLocales
public java.util.Map<java.lang.String,java.util.Locale> getEnabledLocales()
-
getPKIConfiguration
public UnityPKIConfiguration getPKIConfiguration()
-
getFileSizeLimit
public int getFileSizeLimit()
-
getEndpointAuth
public java.util.List<java.lang.String> getEndpointAuth(java.lang.String endpointKey)
-
getConfiguredTheme
public java.lang.String getConfiguredTheme(java.lang.String themeConfigKey, java.lang.String defaultTheme)
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
public java.util.List<ScriptConfiguration> getContentInitializersConfiguration()
-
getSortedListKeys
public java.util.List<java.lang.String> getSortedListKeys(java.lang.String listPrefix)
- Returns:
- list of keys which have a common prefix 'listPrefix'. Values have only the suffix.
-
getProperties
public java.util.Properties getProperties()
-
getEmailConfirmationRequestLimit
public int getEmailConfirmationRequestLimit()
-
getMaxConcurrentPasswordChecks
public int getMaxConcurrentPasswordChecks()
-
-