How can we encrypt the password in the security configuration inside host.xml?
I want to encrypt the ldap connection password in the security configuration inside host.xml. How can we do that in JBoss 6.3?
Responses
Hi, the EAP 6.3 documentation is has a bit more up-to-date information:
https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6.3/html-single/Security_Guide/index.html#chap-Secure_Passwords_and_Other_Sensitive_Strings_with_Password_Vault
You can use a password vault for configuration passwords wherever expressions are allowed.
See https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6.3/html-single/Security_Guide/index.html#Store_and_Retrieve_Encrypted_Sensitive_Strings_in_the_Java_Keystore
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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
