-
1. Re: Datasource encryption in Jboss EAP 6.1
nicolasritouet Jun 23, 2014 11:36 AM (in response to anilj)The SecureIdentityLoginModule is now located in the PicketBox library.
I use this tiny bash script to encrypt the password:
#!/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
-
2. Re: Datasource encryption in Jboss EAP 6.1
anilj Jul 15, 2014 9:17 AM (in response to nicolasritouet)Hi Nicolas,
Thanks for the information. I will try this.
Regards,
Anil
-
3. Re: Datasource encryption in Jboss EAP 6.1
dchatter May 29, 2015 6:52 PM (in response to anilj)Hi Anil and Nicolas
I am still facing the same issue in EAP6.1.1
Error: Could not find or load main class org.picketbox.datasource.security.SecureIdentityLoginModule
Below is what input I have tried.
java -cp $JBOSS_HOME/modules/system/layers/base/org/picketbox/main/picketbox-4.0.14.Final-redhat-3.jar:$JBOSS_HOME/modules/system/layers/base/org/picketbox/main/picketbox-commons-1.0.0.final-redhat-2.jar:$JBOSS_HOME/modules/system/layers/base/org/picketbox/main/picketbox-infinispan-4.0.14.Final-redhat-2.jar:$JBOSS_HOME/modules/system/layers/base/org/jboss/logging/main/jboss-logging-3.1.2.GA-redhat-1.jar org.picketbox.datasource.security.SecureIdentityLoginModule PASSWORD
Regards
Debanjan
-
4. Re: Datasource encryption in Jboss EAP 6.1
jdws77 Aug 18, 2015 7:16 AM (in response to anilj)Hi Debanjan,
I solved this problem on 6.1 with the following:
java -cp $JBOSS_HOME/modules/system/layers/base/org/picketbox/main/picketbox-4.0.17.SP2-redhat-2.jar:$JBOSS_HOME/modules/system/layers/base/org/jboss/logging/main/jboss-logging-3.1.2.GA-redhat-1.jar: org.picketbox.datasource.security.SecureIdentityLoginModule PASSWORD
NOTE: Versions may be different, just change accordingly.
Regards,
Joel
-
5. Re: Datasource encryption in Jboss EAP 6.1
dchatter Aug 18, 2015 9:00 AM (in response to jdws77)Thanks Joel,
I have solved the issue by using Eclipse.
Referred Picketbox jar in the project and specified Main class as org.picketbox.datasource.security.SecureIdentityLoginModule and supplied the password as argument.
Regards
Debanjan