Howdy, How about request.getRemoteUser() ? ;) Yoav Shapira Millennium ChemInformatics
>-----Original Message----- >From: William R Briggs [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 10, 2003 1:41 PM >To: [EMAIL PROTECTED] >Subject: Access Apache server variables from Tomcat code? > >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 This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]