public class JasyptPropertiesParser
extends org.apache.camel.component.properties.DefaultPropertiesParser
PropertiesParser which is using
Jasypt to decrypt encrypted values.
The parts of the values which should be decrpted 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 |
parseProperty(String key,
String value,
Properties properties) |
void |
setAlgorithm(String algorithm) |
void |
setEncryptor(org.jasypt.encryption.StringEncryptor encryptor) |
void |
setPassword(String password) |
public static final String JASYPT_PREFIX_TOKEN
public static final String JASYPT_SUFFIX_TOKEN
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.DefaultPropertiesParserpublic void setEncryptor(org.jasypt.encryption.StringEncryptor encryptor)
public void setAlgorithm(String algorithm)
public void setPassword(String password)
Apache Camel