public class ConfigBySystemProperties extends AbstractConfigInitializer
ConfigInitializer
implementation to read from System Properties (System.getProperty(String)
).
The property-Prefix is "secured-properties".
The Keys must be kebab-case like 'secured-properties.secret-file'.
Constructor and Description |
---|
ConfigBySystemProperties() |
ConfigBySystemProperties(String configKeyPrefix) |
Modifier and Type | Method and Description |
---|---|
protected String |
getValue(ConfigKey key) |
getKeyFactory, init, initAllowedAlgorithm, initAutoCreateSecretKey, initSaltLength, initSecretFilePath
public ConfigBySystemProperties()
public ConfigBySystemProperties(String configKeyPrefix)
protected String getValue(ConfigKey key)
getValue
in class AbstractConfigInitializer
key
- The ConfigKey
to search the value for.Copyright © 2016–2019 Brabenetz Harald, Austria. All rights reserved.