Encrypting password in JBoss EAP

To encrypt password in Jboss using CLI, you can follow the steps below. This is particularly useful if you want to encrypt password for datasource.   1) export JBOSS_HOME=/pallavi/ 2) export CLASSPATH=/pallavi/jboss-eap-6.2/modules/system/layers/base/org/picketbox/main/picketbox-4.0.19.SP2-redhat-1.jar:/pallavi/modules/system/layers/base/org/jboss/logging/main/jboss-logging-3.1.2.GA-redhat-1.jar:$CLASSPATH 3) java org.picketbox.datasource.security.SecureIdentityLoginModule sa 4) Make changes in your configuration file(eg: standalone.xml) under the security tag as below (search for security:1.2 tag):- <security-domain […]