I'm wondering if it is possible to call code that is located in catalina.jar
from a normal servlet?

Specifically, I want to call the following method in order to create a hash
that is in the format the JDBCRealm expects so that I can have a form which
allows users of my application to change their passwords which I have stored
in a SQL database that is queried by JDBCRealm.

org.apache.catalina.realm.JDBCRealm.Digest(password, "SHA");

catalina.jar is stored in server/lib and as far as I can tell is not visble
to normal servlets by default. I tried copying it to common/lib, but, I
receive an error message when I do that.

Anyone know if there is a way to do this?

Jon


Reply via email to