Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

How encrypt password in datasource?

Avatar

Level 2
Hi,



I install LiveCycle ES on Jboss (Windows).

I configure JBoss to access Oracle. So I configure these files :

- adobe-ds.xml in server/all/deploy

- oracle-ds.xml in server/all/deploy

- login-config.xml in server/all/conf



In these three files, there is the username and password in clear.

Now I want to encrypt the password.

But I don't know how I have to change these file and what command I have to launch to do that.



Thanks for any help



Best regards,



Michael
3 Replies

Avatar

Level 2
Hi,



in fact that is possible!!!



I find the solution this week-end!!!

I follow the instructions on this webpage :

http://wiki.jboss.org/wiki/Wiki.jsp?page=EncryptingDataSourcePasswords



Indeed,



I delete user and password in the files adobe-ds.xml and oracle-ds.xml

I replace that by security-domain which refers to the file login-config.xml.

It is in this file there is the user and the password. But the password is encrypted by the command :

java -cp lib/jboss-jmx.jar:lib/jboss-common.jar:server/default/deploy/jboss-jca.sar:server/default/lib/jbosssx.jar org.jboss.resource.security.SecureIdentityLoginModule password



So it works well!!! :)



Have a good day!!!

Avatar

Former Community Member
Hi Michael,



yes you are correct Michael, this is the way to do it.



Thanks C.



_______________________________________

Chris de Groot

Senior Product Manager

Adobe Systems Inc.