How can we encrypt the password in the security configuration inside host.xml?

Latest response

I want to encrypt the ldap connection password in the security configuration inside host.xml. How can we do that in JBoss 6.3?


how about using password vault?

Thank you for the reply Lee. Can I use password vault configuration also for encrypting the ldap password in host.xml? In the above link I can see the example is for encrypting the data source password.

Also how can we define the salt value and iteration count while masking the Keystore password?

Hi, the EAP 6.3 documentation is has a bit more up-to-date information:

You can use a password vault for configuration passwords wherever expressions are allowed.


The datasource password there is just an example, you should be able to use the same method for an ldap password if that attribute allows expressions.