Hi Scott,
You want to use it blueprint, SCR or directly ConfigAdmin ?
If you use the {enc:} format, it should work at least with blueprint
jasypt namespace.
For a generic way, we have a Jira about that. Basically, it would be a
ConfigListener to do intercepting the {enc:} prefix in property values.
I can work on this one.
Regards
JB
On 05/11/2018 23:25, Leschke, Scott wrote:
> I’m looking to encrypt passwords the are currently in plaintext in a few
> of my .cfg files. I’ve looked at how to do that and it seemed
> reasonably straightforward although I’ve had some difficulty getting it
> working. I’m wondering if there’s anything that prevents me from just
> supplying a service myself that implements the
> */org.jasypt.encryption.StringEncryptor/* interface rather than using
> the Karaf jasypt-encryption service.
>
>
>
> I’ve tried it but that doesn’t seem to want to work either so I’m
> wondering if there’s a reason it doesn’t.
>
>
>
> Scott
>
>
>
>
>
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com