From users-return-147596-apmail-tomcat-users-archive=tomcat.apache.org@tomcat.apache.org Tue Jul 04 06:02:30 2006 Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 80037 invoked from network); 4 Jul 2006 06:02:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Jul 2006 06:02:29 -0000 Received: (qmail 25456 invoked by uid 500); 4 Jul 2006 06:02:17 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 25425 invoked by uid 500); 4 Jul 2006 06:02:17 -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 25414 invoked by uid 99); 4 Jul 2006 06:02:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jul 2006 23:02:17 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [62.75.231.23] (HELO confserv2.dnsworld.de) (62.75.231.23) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 03 Jul 2006 23:02:16 -0700 Received: (qmail 18240 invoked from network); 4 Jul 2006 06:01:54 -0000 Received: from unknown (HELO cgnxpnb001) (212.6.249.209) by host01260.perfectserver.de with SMTP; 4 Jul 2006 06:01:54 -0000 Message-ID: <003001c69f2f$5a4f8d00$800510ac@ATec.local> From: "Oliver Enders" To: "Tomcat Users List" Subject: Authentication problem -> request.getRemoteUser() returns null Date: Tue, 4 Jul 2006 08:01:55 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002D_01C69F40.1DBBD450" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_002D_01C69F40.1DBBD450 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hy, I have the following constelation: Windows XP Apache 2.0.58 Tomcat 4.1 Mod_jk 1.2.15 I secured one directory using htpasswd. Calling the URL, the prompt to enter password and username pops up, and = after I entered it correctly, the authentication ist succesfull. (also = the apache log file contains the username). But I can=B4t read out teh remote user using JSP / = request.getRemoteUser() it returns null. So the authentication againts apache is ok but, how can I get the = infomation into my JSP-Pages ?=20 How is this information passed to tomcat, which configuration setting a = necessary? Can anybody help me ? Thanx in advance! Oliver ------=_NextPart_000_002D_01C69F40.1DBBD450--