Pages

Friday, December 14, 2012

How to generate hashed passwords with JBoss

If you want your JBoss to hash passwords for you can do it using the command line

In linux
java -cp client/jboss-logging-spi.jar:lib/jbosssx.jar org.jboss.resource.security.SecureIdentityLoginModule djordje

In windows
java -cp "c:/opt/jboss/lib/jbosssx.jar;c:/opt/jboss/client/jboss-logging-spi.jar" org.jboss.resource.security.SecureIdentityLoginModule djordje

Here a print screen of how to use the cygwin terminal in windows to hash the password:





Share with your friends