Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Query about remote_user header & Tomcat 5.0.16

Query about remote_user header & Tomcat 5.0.16

2004-02-02       - By David Smith

 Back
I've googled to every relevant doc I can find on this and can't seem to
locate a reason for it.  Hopefully someone on the list can help.

Here's the setup:

Apache 1.3.28 web server acts as a front-end to the public.  It has a
special home-grown authentication module for use here at Cornell used to
protect some web pages with Kerberos identities and sets a header,
HTTP_REMOTE_USER, with the username of the successfully authenticated
user.  No big deal.  I was just using mod_rewrite to proxy the request back
to Tomcat for processing and Cocoon would pick up the header as
remote_user.  Tomcat wouldn't even see the request unless the user was
authenticated.

Here's the problem:

I had to switch to Struts for an app I'm working on and now I can't get the
remote_user header any more unless I use the mod_jk connector.  Is there
any reason the HTTP_REMOTE_USER header isn't accepted by the Coyote
connector?  As far as I can tell, this isn't a Struts issue.  Struts code
appears to simply give the action class an instance of HttpServletRequest
with out alteration.  I'd prefer to use mod_rewrite and proxy the Tomcat
service as much as possible because it allows me more flexibility in
mapping requests back to Tomcat.

Thanks for any help you can offer.

--David


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.