Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 11749 invoked from network); 19 Feb 2002 23:04:48 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Feb 2002 23:04:48 -0000 Received: (qmail 27548 invoked by uid 97); 19 Feb 2002 23:04:32 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 27508 invoked by uid 97); 19 Feb 2002 23:04:31 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 27497 invoked from network); 19 Feb 2002 23:04:31 -0000 Subject: JDBC Realm Digest Password Generation MIME-Version: 1.0 Date: Wed, 20 Feb 2002 10:04:25 +1100 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-ID: <7101E13146E1514080CDADA514D64FE305FED7@hera.dedata.com.au> content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: JDBC Realm Digest Password Generation Thread-Index: AcG5mcaoZkyvzwqVRWW6q2X9IWsUng== From: "Michael Burgess" To: "'Tomcat User Group'" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi All, Configuration tomcat 3.3a win2k I am trying to implement a change password page for our web application, we are using a JDBCRealm with digest=3D"MD5" set on the Realm. The = problem is how do I encrypt the password so that it is the same as one generated using the following as specified in the documentation: java org.apache.tomcat.modules.aaa.JDBCRealm -a [ ...] I have currently got it to work by calling org.apache.tomcat.modules.aaa.RealmBase.digest(). But in order for this to work I have had to copy tomcat_modules.jar and tomcat_util.jar to the /WEB-INF/lib directory of the application. This can't be right... can it? So in short my question is, how can I call tomcat and get it to return the encrypted password? Thanks Michael -- To unsubscribe: For additional commands: Troubles with the list: