Comments 4 Posted In Red Hat JBoss Enterprise Application Platform Tags authentication How can we encrypt the password in the security configuration inside host.xml? Latest response 2014-12-18T04:15:31+00:00 I want to encrypt the ldap connection password in the security configuration inside host.xml. How can we do that in JBoss 6.3? AS Started 2014-12-09T06:27:11+00:00 by Admin Support Community Member 34 points Log in to join the conversation Responses Sort By Oldest Sort By Newest Active Contributor 245 points 9 December 2014 6:49 AM KangWoo Lee how about using password vault? https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6.1/html-single/Administration_and_Configuration_Guide/#Configure_the_Enterprise_Application_Platform_to_Use_the_Password_Vault1 AS Community Member 34 points 9 December 2014 7:16 AM Admin Support 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. AS Community Member 34 points 9 December 2014 7:33 AM Admin Support Also how can we define the salt value and iteration count while masking the Keystore password? Red Hat Pro 797 points 18 December 2014 4:15 AM Lucas Costi 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.