public class JasyptPropertiesParser
extends org.apache.camel.component.properties.DefaultPropertiesParser
PropertiesParser which is using
Jasypt to decrypt any encrypted values.
The values must be enclosed in the prefix and suffix token.| Modifier and Type | Field and Description |
|---|---|
static String |
JASYPT_PREFIX_TOKEN |
static String |
JASYPT_SUFFIX_TOKEN |
| Constructor and Description |
|---|
JasyptPropertiesParser() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm() |
org.jasypt.encryption.pbe.StandardPBEStringEncryptor |
getEncryptor() |
String |
getPassword() |
String |
parseProperty(String key,
String value,
Properties properties) |
void |
setAlgorithm(String algorithm) |
void |
setPassword(String password) |
public static final String JASYPT_PREFIX_TOKEN
public static final String JASYPT_SUFFIX_TOKEN
public String getPassword()
public void setPassword(String password)
public String getAlgorithm()
public void setAlgorithm(String algorithm)
public org.jasypt.encryption.pbe.StandardPBEStringEncryptor getEncryptor()
public String parseProperty(String key, String value, Properties properties)
parseProperty in interface org.apache.camel.component.properties.PropertiesParserparseProperty in class org.apache.camel.component.properties.DefaultPropertiesParserApache Camel