I use the Commons Codec library (http://jakarta.apache.org/commons/codec/). It's really simple to do what you want, and there are examples on the site.

Digby

Khawaja Shams wrote:
Hello,
   We are using the jdbc realm for authentication against a MySQL
instance.  The passwords are stored in an MD5 digest format within our
database.  I would like to allow our users to change their passwords when
they are using the web application.  Is there a clean or preferred way to
compute the MD5 digest of a password on the fly within tomcat? The java
classes within tomcat libraries that I am aware of merely print the digest
on the screen rather than returning it. I would sincerely appreciate any
help.

Regards,
Khawaja Shams



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

Reply via email to