Package com.axelor.app.settings
Class SettingsUtils
- java.lang.Object
-
- com.axelor.app.settings.SettingsUtils
-
public class SettingsUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONFIG_ENCRYPTOR_PREFIX
static String
CONFIG_FILE_NAME
static String
ENCRYPT_PREFIX
static String
ENCRYPT_SUFFIX
static String
ENV_CONFIG_PREFIX
static String
EXTERNAL_CONFIG_ENV
static String
EXTERNAL_CONFIG_SYSTEM_PROP
static String
SYSTEM_CONFIG_PREFIX
-
Constructor Summary
Constructors Constructor Description SettingsUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,String>
extractProperties(Map<String,String> source, String prefix)
static boolean
isEncrypted(String property)
static String
unwrapEncryptedValue(String property)
-
-
-
Field Detail
-
CONFIG_FILE_NAME
public static final String CONFIG_FILE_NAME
- See Also:
- Constant Field Values
-
EXTERNAL_CONFIG_SYSTEM_PROP
public static final String EXTERNAL_CONFIG_SYSTEM_PROP
- See Also:
- Constant Field Values
-
EXTERNAL_CONFIG_ENV
public static final String EXTERNAL_CONFIG_ENV
- See Also:
- Constant Field Values
-
ENV_CONFIG_PREFIX
public static final String ENV_CONFIG_PREFIX
- See Also:
- Constant Field Values
-
SYSTEM_CONFIG_PREFIX
public static final String SYSTEM_CONFIG_PREFIX
- See Also:
- Constant Field Values
-
CONFIG_ENCRYPTOR_PREFIX
public static final String CONFIG_ENCRYPTOR_PREFIX
- See Also:
- Constant Field Values
-
ENCRYPT_PREFIX
public static final String ENCRYPT_PREFIX
- See Also:
- Constant Field Values
-
ENCRYPT_SUFFIX
public static final String ENCRYPT_SUFFIX
- See Also:
- Constant Field Values
-
-