Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 92162 invoked from network); 31 Jul 2006 11:15:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Jul 2006 11:15:47 -0000 Received: (qmail 1945 invoked by uid 500); 31 Jul 2006 11:15:36 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 1796 invoked by uid 500); 31 Jul 2006 11:15:35 -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 1785 invoked by uid 99); 31 Jul 2006 11:15:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jul 2006 04:15:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [81.209.188.32] (HELO dd3334.kasserver.com) (81.209.188.32) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jul 2006 04:15:32 -0700 Received: from [192.168.1.170] (mail.pm-planc.de [212.80.227.118]) by dd3334.kasserver.com (Postfix) with ESMTP id 5D149A3383 for ; Mon, 31 Jul 2006 13:15:08 +0200 (CEST) Message-ID: <44CDE632.1050408@zimmer428.net> Date: Mon, 31 Jul 2006 13:14:58 +0200 From: Kristian Rink User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050716 Thunderbird/1.0.6 Mnenhy/0.7.2.0 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: servlet and HTTP authentication References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hey there; and, at first, thanks a lot for the hint. DJohnson@desknetinc.com schrieb: > WWW-Authenticate: Basic realm="My Document Management System" > > I'm not sure if tomcat will interpret the resulting "Authorization" header > in the next request, given that you asked him not to authenticate, but you > can always ask for the contents of that header, strip off the "Basic " > from the front, and Base64.decode the rest, yielding userid:password. > Split on the ":" and you have your id and password. Hmmm, I feel stupid right now as I could have thought about that myself. Thanks for enlightening me, that's pretty much what I needed! :) Thanks and bye, Kristian -- Kristian Rink * http://zimmer428.net * jab: kawazu@jabber.ccc.de icq: 48874445 * fon: ++49 176 2447 2771 "Wenn einer allein tr�umt, ist es nur ein Traum. Wenn viele gemeinsam tr�umen, ist das der Anfang einer neuen Wirklichkeit." (Hundertwasser) --------------------------------------------------------------------- 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