Hey Sumit,
Instead of doing what I was supposed to be doing last night I wrote a
Filter that does two things:
1) Adds the X-Forwarded-* headers to the request as described in KNOX-476.
2) Filters out the "per hop" headers that should be removed by a proxy.
The question is given the work you are doing around config driven
service how might this fit in? My thinking was that putting this logic
into a Filter takes some of the burden away from Dispatch
implementations which is probably a good thing. But the other side of
that coin is how would this Filter then be added to the chain given the
config driven approach you are pursuing?
Kevin.
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.