
public class ConfigByEnvProperties extends AbstractConfigInitializer
ConfigInitializer implementation for OS environment variables (System.getenv(String)).
The property-Prefix is "SECURED_PROPERTIES".
The Keys must be UpperCase like 'SECURED_PROPERTIES_SECRET_FILE'.
| Constructor and Description |
|---|
ConfigByEnvProperties() |
ConfigByEnvProperties(String configKeyPrefix) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getValue(ConfigKey key) |
getKeyFactory, init, initAllowedAlgorithm, initAutoCreateSecretKey, initSaltLength, initSecretFilePathpublic ConfigByEnvProperties()
public ConfigByEnvProperties(String configKeyPrefix)
protected String getValue(ConfigKey key)
getValue in class AbstractConfigInitializerkey - The ConfigKey to search the value for.Copyright © 2016–2019 Brabenetz Harald, Austria. All rights reserved.