#!/bin/sh

export JAVA_HOME=~/java
export JBOSS_HOME=~/wildfly
export CLASSPATH=${JBOSS_HOME}/modules/system/layers/base/org/picketbox/main/picketbox-4.9.6.Final.jar

#export CLASSPATH=${CLASSPATH}:${JBOSS_HOME}/modules/system/layers/base/.overlays/layer-base-jboss-eap-6.4.8.CP/main/picketbox-commons-1.0.0.final-redhat-3.jar
#export CLASSPATH=${CLASSPATH}:${JBOSS_HOME}/modules/system/layers/base/org/picketbox/main/picketbox-infinispan-4.1.1.Final-redhat-1.jar
#export CLASSPATH=${CLASSPATH}:${JBOSS_HOME}/modules/system/layers/base/org/jboss/logging/main/jboss-logging-3.1.4.GA-redhat-2.jar

echo "$1"

echo "$JAVA_HOME/bin/java -cp .:$CLASSPATH org.picketbox.datasource.security.SecureIdentityLoginModule est123"
$JAVA_HOME/bin/java -cp .:$CLASSPATH org.picketbox.datasource.security.SecureIdentityLoginModule est123
