2. Create a
com/myexample/META_INF/spring.factories file to override the default PropertyResurceLoader (org.springframework.boot.env.PropertiesPropertySourceLoader) which is provided with the Spring Boot distribution in META-INF/spring.factories. Our file should contain one line as follows: org.springframework.boot.env.PropertySourceLoader=com.myexample.EncryptedPropertySourceLoader
Read full article from Dikran's blog - "Research, Create, Share": Spring Boot & Jasypt easy: Keep your sensitive properties encrypted
No comments:
Post a Comment