Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 30065 invoked by uid 500); 17 Jul 2001 07:56:04 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 30046 invoked from network); 17 Jul 2001 07:56:04 -0000 Received: from ostiensis.ariadne.it (HELO ariadne.it) (195.120.197.189) by h31.sny.collab.net with SMTP; 17 Jul 2001 07:56:04 -0000 Received: from [195.120.197.11] (HELO ariadne.it) by ariadne.it (CommuniGate Pro SMTP 3.3b2) with ESMTP id 491876 for tomcat-user@jakarta.apache.org; Tue, 17 Jul 2001 09:49:57 +0200 Message-ID: <3B53EFEE.8CA95E07@ariadne.it> Date: Tue, 17 Jul 2001 09:57:34 +0200 From: Marco Magistrali X-Mailer: Mozilla 4.72 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: using digest autenticator in tomcat 4 References: <002301c10e9c$1fd9d0a0$bdce72c0@duddy> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N hi all, I want to use the digest autenthicator with tomcat 4 but I can't!!!! I put in server.xml digest="MD5" I put in my web.xml BASIC I try to crypt my password with this method: public static void main(String args[]) { String pippo = "pippo"; MessageDigest md ; try { md = MessageDigest.getInstance("MD5"); md.reset(); md.update(pippo.getBytes()); System.err.println(" dig " +(HexUtils.convert(md.digest()))); } catch (Exception e) { System.err.println("credential" + pippo); } } and I put the result of system.err in db. It's doesn't work!!!!!!!!! someone can help me??? tanks!! Marco