Closed membersound closed 5 years ago
Yes, so defining that property will void the catch all config by default. So you defining include-sources will just include what you selected. In this case nothing... since the application.properties
file property source name is applicationConfig
and the filter is based on the name of the property source, not the file name, since property sources are not necessarily backed by files.
As soon as I set one of the following properties, the encrypted ENC fields are not decrypted anymore.
application.properties:
pom.xml:
What is strange: the logs show that the
application.properties
have been converted to encrytable map even when using the include-sources filter:What I noticed is that the
DefaultLazyEncryptor
constructors content is skipped when using the include-sources property. the singleton inside the constructor is not created, thus thecreateDefault()
methods never gets called.I don't know why, but maybe you could use that as a starting point?