Package com.ulisesbocchio.jasyptspringboot.configuration
package com.ulisesbocchio.jasyptspringboot.configuration
-
ClassesClassDescriptionWe inject a special property source within EnvironmentInitializer in the custom environment.CachingConfiguration class.
BeanFactoryPostProcessorthat wraps allPropertySourcedefined in theEnvironmentwithEncryptablePropertySourceWrapperand defines a defaultEncryptablePropertyResolverfor decrypting properties that can be configured through the same properties it wraps.Configuration class that registers aBeanFactoryPostProcessorthat wraps allPropertySourcedefined in theEnvironmentwithEncryptablePropertySourceWrapperand defines a defaultStringEncryptorfor decrypting properties that can be configured through the same properties it wraps.Needs to run afterConfigDataEnvironmentPostProcessorandorg.springframework.cloud.bootstrap.BootstrapConfigFileApplicationListenerThis listener detects the custom environment created byEnvironmentInitializerand re-initializes the logging environment property sources which would have been populated without the encryptable wrapper.EncryptablePropertyResolverConfiguration class.EncryptablePropertySourceBeanFactoryPostProcessor class.EncryptablePropertySourceConfiguration class.This class initializesEncryptableSystemEnvironmentPropertySourceWrapperafterSystemEnvironmentPropertySourceEnvironmentPostProcessorto enable the wrapping of `getSource` to aEncryptableMapWrapper.Need a copy of the environment without the Enhanced property sources to avoid circular dependencies.StringEncryptorBuilder class.