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
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