Skip to content

Instantly share code, notes, and snippets.

@NicolasRitouet
Created June 23, 2014 15:29
Show Gist options
  • Save NicolasRitouet/45fa45a8b705b275ad7f to your computer and use it in GitHub Desktop.
Save NicolasRitouet/45fa45a8b705b275ad7f to your computer and use it in GitHub Desktop.
Encrypt datasource password for Jboss eap 6.2
#!/bin/bash
## Build ClassPath for command
MYPATH=`pwd`
CP=
CP=${CP}:$MYPATH/../modules/system/layers/base/org/picketbox/main/picketbox-4.0.19.SP2-redhat-1.jar
CP=${CP}:$MYPATH/../modules/system/layers/base/org/jboss/logging/main/jboss-logging-3.1.2.GA-redhat-1.jar
echo "$CP"
java -classpath ${CP} org.picketbox.datasource.security.SecureIdentityLoginModule $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment