On 9/21/2004 5:13 PM, Ben wrote:

Is there a way to add salt to the digested password in Tomcat JDBC
Realm for authentication?

What I did was extend the JDBCRealm and override the authenticate() method (basically just copy over the original one) and change validated to use a java implementation of FreeBSD's md5crypt(). A java implementation of md5crypt() can be found at:


http://tools.arlut.utexas.edu/cvsweb/cvsweb.cgi/ganymede/src/md5/MD5Crypt.java?rev=1.12&content-type=text/x-cvsweb-markup

--
Dennis Dai
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to