bip 01/05/22 13:47:10 Modified: catalina/docs JDBCRealm-howto.html Log: Changed the paragraph on how to digest passwords. Revision Changes Path 1.4 +7 -2 jakarta-tomcat-4.0/catalina/docs/JDBCRealm-howto.html Index: JDBCRealm-howto.html =================================================================== RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/docs/JDBCRealm-howto.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- JDBCRealm-howto.html 2001/01/14 01:31:44 1.3 +++ JDBCRealm-howto.html 2001/05/22 20:47:05 1.4 @@ -222,14 +222,19 @@ </p> <h2>Using digested passwords</h2> <p>To use digested password you need to store them digested. -To achieve this, you will need to use the same digest strategies that JDBCrealm uses to store the passwords, inside JDBCRealm there is a static method with signature <code>final public static String Digest(String password,String algorithm)</code> this method is provided as a tool to be used outside JDBCRealm by an application that want to store passwords readable by JDBCRealm.</p> +To achieve this, you will need to use the same digest strategies that JDBCrealm uses to store the passwords, either by using:<br> +<ul> + <li>The static method inside JDBCRealm. <code>final public static String Digest(String password,String algorithm)</code></li> + <li>Use the scripts in the bin directory, <code>digest.bat</code> for Windows or <code>digest.sh</code> for unix/linux systems</li> +</ul> +</p> <h2>Hints</h2> <p> - Make sure that the JDBC driver is in the lib directory. <br> - If you have problem connecting you can specify connectionName and connectionPassword</p> -<div align="center">$Header: /home/cvs/jakarta-tomcat-4.0/catalina/docs/JDBCRealm-howto.html,v 1.3 2001/01/14 01:31:44 craigmcc Exp $ +<div align="center">$Header: /home/cvs/jakarta-tomcat-4.0/catalina/docs/JDBCRealm-howto.html,v 1.4 2001/05/22 20:47:05 bip Exp $ </div> </body> </html>