org.apache.camel.component.jasypt
Class JasyptPropertiesParser
java.lang.Object
org.apache.camel.component.properties.DefaultPropertiesParser
org.apache.camel.component.jasypt.JasyptPropertiesParser
- All Implemented Interfaces:
- PropertiesParser
public class JasyptPropertiesParser
- extends DefaultPropertiesParser
A PropertiesParser which is using
Jasypt to decrypt any encrypted values.
The values must be enclosed in the prefix and suffix token.
- Version:
- $Revision$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JASYPT_PREFIX_TOKEN
public static final String JASYPT_PREFIX_TOKEN
- See Also:
- Constant Field Values
JASYPT_SUFFIX_TOKEN
public static final String JASYPT_SUFFIX_TOKEN
- See Also:
- Constant Field Values
JasyptPropertiesParser
public JasyptPropertiesParser()
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
getAlgorithm
public String getAlgorithm()
setAlgorithm
public void setAlgorithm(String algorithm)
getEncryptor
public org.jasypt.encryption.pbe.StandardPBEStringEncryptor getEncryptor()
parsePropertyValue
public String parsePropertyValue(String value)
- Specified by:
parsePropertyValue in interface PropertiesParser- Overrides:
parsePropertyValue in class DefaultPropertiesParser
Apache CAMEL