tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: Is it possible to add header values to the request (not the respo nse)?
Date Wed, 16 Jul 2003 11:34:29 GMT
You can do this via a Filter and HttpServletRequestWrapper, where your 
imlpementation of HttpServletRequestWrapper will extend the needed getHeader 
methods to send the additional stuff you need.

-Tim

White, Joshua A (HTSC, CASD) wrote:
> Hey all,
> 
> My production application uses a site minder web agent.  This agent places
> two name/value pairs into the request header, one for userName, the other
> for domain.
> 
> In my application, I have a filter which looks for these values to make sure
> the user is logged in.  Currently I do not have site minder in my
> development environment, but I would like to simulate its functionality by
> placing values in the request header before my other filter looks for them.
> 
> I know that you can place values in the response header.  Can it be done
> with the request as well?
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message