Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Another source for MD5 encryption

Tim Penhey

2004-05-22

Replies:

I have a web application that manages the usernames and passwords for a JDBCRealm. The
realm uses MD5 digest to encrypt the passwords for checking, and the encrypted passwords
are stored in the DB.

The docs say to have TOMCAT_HOME/server/lib/catalina.jar in the classpath in order to use
the RealmBase.Digest static method, but I was wondering if there is another source around
that will do the same MD5 digesting of passwords so I don't need catalina.jar in
WEB-INF/lib.

I don't really want to move around any of the tomcat jars, like from server to common, as
I want the web app to be able to deploy on another vanilla install of tomcat.

Any ideas?

Thanks,
Tim





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.