Tim,

The getHeader methods does not return any reference to any kind of header
object which I could modify.
I would have to create my own setHeader method instead.  There has to be an
easier way to do this.

Any other ideas?

-Joshua


-----Original Message-----
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2003 7:34 AM
To: Tomcat Users List
Subject: Re: Is it possible to add header values to the request (not the
respo nse)?


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?
> 




This communication, including attachments, is for the exclusive use of 
addressee and may contain proprietary, confidential or privileged 
information. If you are not the intended recipient, any use, copying, 
disclosure, dissemination or distribution is strictly prohibited. If 
you are not the intended recipient, please notify the sender 
immediately by return email and delete this communication and destroy all copies.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to