I followed instructions to setup and configure my datasouce to use the
SecureIdentityLoginModule.
When my application tried to access a connection it get:
2006-04-28 10:07:11,020 DEBUG
[org.jboss.resource.security.SecureIdentityLoginModule] Failed to decode
password
javax.crypto.IllegalBlockSizeException: Input length (with padding) not multiple
of 8 bytes
at com.sun.crypto.provider.SunJCE_h.a(DashoA6275)
I used the program (org.jboss.resource.security.SecureIdentityLoginModule) to
encrypt my password an placed that into my application policy:
<application-policy name = "EncryptDBPassword">
<login-module code = "org.jboss.resource.security.SecureIdentityLoginM
odule"
flag = "required">
<module-option name = "username">comsrw</module-option>
<module-option name = "password">22b53669e0c66d</module-option>
<module-option name = "managedConnectionFactoryName">jboss.jca:se
rvice=LocalTxCM,name=RxHubTxDS</module-option>
</login-module>
</application-policy>
I am running jboss 3.2.6
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940176#3940176
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940176
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user