I am using JDBC Realms in my application with digested passwords.
Specifically the MD5 digest. I need to programatically digest
passwords entered into the application for storage in the users
table (when a new user is created or password changed).
In the Digested Passwords section of the Realm HOWTO (Tomcat 4.1.10)
there is a description of using the static Digest(). In order to use
this method then I must, and I quote
"To use either of the above techniques, the
$CATALINA_HOME/server/lib/catalina.jar file will need to be
on your class path to make the RealmBase class available."
There are a few ways to do this. I could copy the catalina.jar file
to my web application WEB-INF/lib directory. Or, I could copy the
catalina.jar file to $CATALINA_HOME/common/lib.
I don't like the first method as it is error prone when I move to
the next version of Tomcat (and forget to replace the cataline.jar
file). So I'll probably go with the second method and copy the
.jar file to the common/lib directory.
Should I move the file instead of copying it?
Could I create a symbolic link instead of copying?
Is there a better way to do this?
Thanks,
Kevin.
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>