public class EnableEncryptablePropertySourcesPostProcessor extends Object implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.PriorityOrdered
BeanFactoryPostProcessor that wraps all PropertySource defined in the Environment
with EncryptablePropertySourceWrapper and defines a default StringEncryptor for decrypting properties
that can be configured through the same properties it wraps.
It takes the lowest precedence so it does not interfere with Spring Boot's own post processors
| Constructor and Description |
|---|
EnableEncryptablePropertySourcesPostProcessor(org.springframework.core.env.ConfigurableEnvironment environment,
InterceptionMode interceptionMode) |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
public EnableEncryptablePropertySourcesPostProcessor(org.springframework.core.env.ConfigurableEnvironment environment,
InterceptionMode interceptionMode)
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws org.springframework.beans.BeansException
postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessororg.springframework.beans.BeansExceptionpublic int getOrder()
getOrder in interface org.springframework.core.OrderedCopyright © 2016. All rights reserved.