JBoss AS 7.1 - datasource how to encrypt password

前端 未结 5 1856
情深已故
情深已故 2021-02-07 07:28

In JBoss AS 5, I have a datasource defined in *-ds.xml but put username/encrypted password in *-jboss-beans.xml.

Now in JBoss AS 7.1, the datasource is defined in standa

5条回答
  •  北海茫月
    2021-02-07 08:05

    For who is interested on having this running on windows (and in my case on JBoss EAP 6.4...)

    set JBOSS_HOME=C:\dev\jboss\jboss-eap-6.4
    set MYPATH=%JBOSS_HOME%\modules\system\layers\base\org\picketbox\main\picketbox-4.1.1.Final-redhat-1.
    jar;%JBOSS_HOME%\modules\system\layers\base\org\jboss\logging\main\jboss-logging-3.1.4.GA-redhat-2.jar;
    java -classpath %MYPATH% org.picketbox.datasource.security.SecureIdentityLoginModule SecretPass
    
    Encoded password: 13e0362237c93a9cda89f5b3da271521
    

    Hope this helps, Matteo

提交回复
热议问题