public final class EncryptablePropertySourcesPlaceholderConfigurer
extends org.springframework.context.support.PropertySourcesPlaceholderConfigurer
ENVIRONMENT_PROPERTIES_PROPERTY_SOURCE_NAME, LOCAL_PROPERTIES_PROPERTY_SOURCE_NAMEDEFAULT_PLACEHOLDER_PREFIX, DEFAULT_PLACEHOLDER_SUFFIX, DEFAULT_VALUE_SEPARATOR, ignoreUnresolvablePlaceholders, nullValue, placeholderPrefix, placeholderSuffix, valueSeparator| Constructor and Description |
|---|
EncryptablePropertySourcesPlaceholderConfigurer(org.jasypt.encryption.StringEncryptor stringEncryptor)
Creates an EncryptablePropertyPlaceholderConfigurer instance
which will use the passed
StringEncryptor object to decrypt
encrypted values. |
EncryptablePropertySourcesPlaceholderConfigurer(org.jasypt.util.text.TextEncryptor textEncryptor)
Creates an EncryptablePropertyPlaceholderConfigurer instance which will use the
passed
TextEncryptor object to decrypt encrypted values. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
convertProperties(Properties props) |
protected String |
convertPropertyValue(String originalValue) |
protected Properties |
mergeProperties() |
getAppliedPropertySources, postProcessBeanFactory, processProperties, processProperties, setEnvironment, setPropertySourcesdoProcessProperties, setBeanFactory, setBeanName, setIgnoreUnresolvablePlaceholders, setNullValue, setPlaceholderPrefix, setPlaceholderSuffix, setValueSeparatorconvertProperty, getOrder, setOrderpublic EncryptablePropertySourcesPlaceholderConfigurer(org.jasypt.encryption.StringEncryptor stringEncryptor)
Creates an EncryptablePropertyPlaceholderConfigurer instance
which will use the passed StringEncryptor object to decrypt
encrypted values.
stringEncryptor - the StringEncryptor to be used do decrypt values. It
can not be null.public EncryptablePropertySourcesPlaceholderConfigurer(org.jasypt.util.text.TextEncryptor textEncryptor)
Creates an EncryptablePropertyPlaceholderConfigurer instance which will use the
passed TextEncryptor object to decrypt encrypted values.
textEncryptor - the TextEncryptor to be used do decrypt values. It can
not be null.protected Properties mergeProperties() throws IOException
mergeProperties in class org.springframework.core.io.support.PropertiesLoaderSupportIOExceptionprotected void convertProperties(Properties props)
convertProperties in class org.springframework.beans.factory.config.PropertyResourceConfigurerCopyright © 2019 The JASYPT team. All rights reserved.