Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 46051 invoked from network); 10 Dec 2003 18:51:19 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 10 Dec 2003 18:51:19 -0000 Received: (qmail 2800 invoked by uid 500); 10 Dec 2003 18:50:50 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 2786 invoked by uid 500); 10 Dec 2003 18:50:50 -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 2773 invoked from network); 10 Dec 2003 18:50:49 -0000 Received: from unknown (HELO mail-out.visi.com) (209.98.98.22) by daedalus.apache.org with SMTP; 10 Dec 2003 18:50:49 -0000 Received: from mahes.visi.com (mahes.visi.com [209.98.98.96]) by mail-out.visi.com (Postfix) with ESMTP id 2C43036F7 for ; Wed, 10 Dec 2003 12:52:03 -0600 (CST) Received: from mahes.visi.com (localhost [127.0.0.1]) by mahes.visi.com (8.12.9/8.12.5) with ESMTP id hBAIojOo001411 for ; Wed, 10 Dec 2003 12:50:45 -0600 (CST) (envelope-from hoju@visi.com) Received: (from www@localhost) by mahes.visi.com (8.12.9/8.12.5/Submit) id hBAIofoh001409 for tomcat-user@jakarta.apache.org; Wed, 10 Dec 2003 18:50:41 GMT X-Authentication-Warning: mahes.visi.com: www set sender to hoju@visi.com using -f Received: from linterlock.hartfordlife.com (linterlock.hartfordlife.com [199.222.100.4]) by my.visi.com (IMP) with HTTP for ; Wed, 10 Dec 2003 18:50:41 +0000 Message-ID: <1071082241.3fd76b013d0b7@my.visi.com> Date: Wed, 10 Dec 2003 18:50:41 +0000 From: Jacob Kjome To: Tomcat Users List Subject: Re: Access Apache server variables from Tomcat code? References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Originating-IP: 199.222.100.4 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N request.getRemoteUser(); Jake Quoting William R Briggs : > Hi all, > > A somewhat random question that I have been unable to find the answer to - > I have a setup using Tomcat 5.0.16 w/ Apache 1.3.28. I am using a custom > Apache module that is internal to my company in order to perform user > authentication. This module exports certain values into the server > environment. Using PHP, I can access the values like so: > $_SERVER['REMOTE_USER']. > > Is there an equivalent I can use from my servlet/jsp code within Tomcat to > access this environment information? > > Thanks, > Will --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org