public class EnableEncryptablePropertiesBeanFactoryPostProcessor extends Object implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered
BeanFactoryPostProcessor that wraps all PropertySource defined in the Environment
with EncryptablePropertySourceWrapper and defines a default EncryptablePropertyResolver 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 |
|---|
EnableEncryptablePropertiesBeanFactoryPostProcessor(org.springframework.core.env.ConfigurableEnvironment environment,
EncryptablePropertySourceConverter converter) |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
public EnableEncryptablePropertiesBeanFactoryPostProcessor(org.springframework.core.env.ConfigurableEnvironment environment,
EncryptablePropertySourceConverter converter)
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 © 2020. All rights reserved.