com.ulisesbocchio.jasyptspringboot.configuration.EncryptablePropertySourceConfiguration Maven / Gradle / Ivy
package com.ulisesbocchio.jasyptspringboot.configuration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.core.env.ConfigurableEnvironment;
/**
* @author Ulises Bocchio
*/
@Configuration
@Import({EncryptablePropertyResolverConfiguration.class, CachingConfiguration.class})
public class EncryptablePropertySourceConfiguration {
@Bean
public static EncryptablePropertySourceBeanFactoryPostProcessor encryptablePropertySourceAnnotationPostProcessor(ConfigurableEnvironment env) {
return new EncryptablePropertySourceBeanFactoryPostProcessor(env);
}
}