Encrypted passwords in a JDBC Realm

2002-06-07 Thread Markus Kirsten
I've just went through the documentation concerning setting up a JDBC Realm as well as some of the MySQL documentation. It seems to me that to use encrypted passwords I need to manually encrypt them before I store them in my database since it is not possible to set the digest attribute in the

Re: Encrypted passwords in a JDBC Realm

2002-06-07 Thread Rick Fincher
Hi Markus, You can use the same calls in Java to encrypt that Tomcat does. When you use encrypted passwords with form based authentication, Tomcat reads the clear text password from the user, then encrypts it according to your settings (MD-5 for exmple), then retrieves the pre-encrypted