Setting up password encryption on JBoss application servers

If required, you can set up password encryption on JBoss application servers.Use the Cipher Tool in NexJ Studio to generate the password file, copy it to the JBoss application server machine, and then enable encryption on the server.
Before you can set up password encryption, use the NexJ Studio Cipher Tool to generate the master password file master.pwd. If you do not have access to NexJ Studio, someone else might need to generate the file for you.
To set up password encryption on a JBoss application server:
  1. Get the master password file master.pwd, which was generated using the NexJ Studio Cipher Tool.
  2. Copy this file to the JBoss application server machine.
    • If the server runs Linux, copy the file to the JBOSS_HOME/server/projectdir/conf directory.
    • If the server runs Windiows, copy the file to the JBOSS_HOME\server\projectdir\conf directory.
  3. Set file permissions to make the master.pwd file readable only to the server process user (that is, the login account specified in the application server service) and the deployment administrator.
Password encryption is now enabled for your JBoss application server.

Restart the JBoss application server for the changes to take effect.