Expand my Community achievements bar.

SOLVED

Encrypted OSGI configuration properties

Avatar

Level 2

It appears this is available starting in 6.3.  From the 6.3 release notes: "Support for all OSGI configuration properties to be stored in a protected encrypted form instead of clear text."  How do you enable this or is it done automatically?

What I am really looking for is the LDAP Identity Provider bind password to be masked when I view through the CRX.  In 6.3, I am still seeing it in clear text.  Perhaps that's not what this feature is intended to do.

1 Accepted Solution

Avatar

Correct answer by
Level 10
2 Replies

Avatar

Correct answer by
Level 10

Avatar

Level 2

That is indeed what I was looking for.  It works in 6.3 also, even though the documentation seems to be for 6.4.  When you view the configuration through the CRX, the value will show the encrypted text.  Then AEM magically decrypts it before it is sent to the service or external component.  I guess every time a configuration is invoked, AEM reviews all the properties looking for a pattern so it knows to decrypt it.