Hi there,

I've created a servlet that lets the user enter a new password for his/her account. 
Because I store the password in MD5 digested form in the database, I would like to 
call the org.apache.catalina.realm.RealmBase.Digest() method from the servlet (or some 
other function that returns the correct MD5 encrypted password).

Unfortunatly, I get a class not found exception when this method is called.

How can I create an MD5 encrypted password that I can store in the database?

In Tomcat 4.0.1 I copied the whole catalina.jar file to the /WEB-INF/lib directory to 
solve this problem. In Tomcat 4.1.18 that solutions gives an TLD error.

I'm using apache 1.3 / Tomcat 4.1.18 / MySQL 3.23.

Kind regards,
Marc

Reply via email to