The data source password is encrypted using the SecureIdentityLoginModule main method by passing in the clear text password.

The SecureIdentityLoginModule is provided by jbosssx.jar.

This procedure is for JBoss Enterprise Application Platform versions 5.1 and later

Change directory to the jboss-as directory

Linux command

Windows command:

 

The command will return an encrypted password.