matteobaccan / owner

Get rid of the boilerplate code in properties based configuration.

Home Page:https://matteobaccan.github.io/owner/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Accessible.fill() does not decrypt @EncryptedValue properties

qand90 opened this issue · comments

Hello Team.

Some of tools uses java.Properties as an input for init()

I am using OWNER for managing properties and password are kept encrypted.
Before push Properties to the init methods I am doing (Accessible)configs.fill(props) but it pushes them as is in properties file.
I would expect it will be decrypted.

Workaround:
Make
props.replace("prop.name",configs.propName());
before push props to init.

Would be great to have it working out of the box.