-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matt,

On 6/13/2010 6:03 PM, Matt Peterson wrote:
> I am trying to develop a valve to modify requests based on a HTTP request
> header as set by our SSL terminating load balancer. The valve is to watch
> out for a particular header and when found, call the setSecure(true),
> setScheme("https") and setServerPort(443) methods so that the receiving
> servlet is aware that the request is a secure one.

Why set the server port? You may end up confusing code that performs
redirects and things like that. Can you get away with simply
setSecure()/setScheme()?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwWp88ACgkQ9CaO5/Lv0PCE6QCePtQgxZKDiDgB7GVjRK7HiM2k
IA0An3Wnzw4RdIM1IMHw+q4WNFupseiv
=EHI5
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to