Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 94846 invoked from network); 5 Nov 2007 03:29:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Nov 2007 03:29:02 -0000 Received: (qmail 17048 invoked by uid 500); 5 Nov 2007 03:28:37 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 17025 invoked by uid 500); 5 Nov 2007 03:28:37 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 17013 invoked by uid 99); 5 Nov 2007 03:28:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Nov 2007 19:28:37 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of zhangzhongl@msn.com designates 65.54.246.88 as permitted sender) Received: from [65.54.246.88] (HELO bay0-omc1-s16.bay0.hotmail.com) (65.54.246.88) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 03:28:38 +0000 Received: from BLU114-W33 ([10.6.17.68]) by bay0-omc1-s16.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 4 Nov 2007 19:28:13 -0800 Message-ID: X-Originating-IP: [210.83.210.189] From: zhongliang zhang To: Tomcat Users List Subject: RE: [tomcat]How to decrypt the DIGEST authentication? Date: Mon, 5 Nov 2007 11:28:13 +0800 Importance: Normal In-Reply-To: <472E0F42.1070807@apache.org> References: <1193715551.98380.ezmlm@tomcat.apache.org> <472799E6.7040208@senanque.co.nz> <4727B124.8040409@christopherschultz.net> <4727D3D0.4080005@apache.org> <4727DEAF.1010909@apache.org> <4727E781.6000405@apache.org> <47285E3E.6080305@apache.org> <4729A4F9.6030405@apache.org> <472E0F42.1070807@apache.org> Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 X-OriginalArrivalTime: 05 Nov 2007 03:28:13.0527 (UTC) FILETIME=[E5A3EE70:01C81F5B] X-Virus-Checked: Checked by ClamAV on apache.org Hi, It still does not work. Here is the trace: I create the SHA1 password from the command prompt: C:\tomcat>java org.apache.catalina.realm.RealmBase -a SHA1 zhangzhongl:JDBCRealm :secret zhangzhongl:JDBCRealm:secret:0743d07d727aae8864569cbcefb9ae788150e8b9 C:\tomcat>java org.apache.catalina.realm.RealmBase -a SHA zhangzhongl:JDBCRealm: secret zhangzhongl:JDBCRealm:secret:0743d07d727aae8864569cbcefb9ae788150e8b9 So,I change the password of user "zhangzhongl" to "0743d07d727aae8864569cbcefb9ae788150e8b9",and add the digest attribute to JDBCRealm element which has a value of "SHA". Start the cat,and enter the http://localhost:8080/,the dialog popup,and I enter zhangzhongl & secret as the username & password,which made me feel upset is I can not enter the welcome page. I do not know what is the reason,and I try to get some info from the logs,but no logs can provide some useful information for this. If possible,could you do me a favor to send me a simple sample application for test and get this problem solved? thank you so much! _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org