org.constretto.internal.store
Class EncryptedPropertiesStore
java.lang.Object
org.constretto.internal.store.PropertiesStore
org.constretto.internal.store.EncryptedPropertiesStore
- All Implemented Interfaces:
- ConfigurationStore
public class EncryptedPropertiesStore
- extends PropertiesStore
Has support for jasypt encrypted properties.
See Jasypt CLI and Jasypt Configuration Files
- Author:
- Ole-Martin Mørk (olemartin@openadex.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncryptedPropertiesStore
public EncryptedPropertiesStore(String passwordProperty)
- Creates a new instance
- Parameters:
passwordProperty - the name of the system property to read from
parseProperties
protected Properties parseProperties(Properties props)
- Uses jasypt to parse the properties
- Overrides:
parseProperties in class PropertiesStore
- Parameters:
props - the properties currently read
- Returns:
- an instance of
EncryptableProperties
Copyright © 2008-2013. All Rights Reserved.