The simple header policy can't do that directly as I recall. As Eric
suggests you should write your own custom policy to achieve this. It
should be really simple -- probably just a few lines!
On 7 March 2018 at 18:56, Eric Wittmann <eric.wittmann(a)redhat.com> wrote:
I can't remember if there is a policy for this already. If not,
it's fairly
trivial to write a custom policy. Thoughts Marc?
On Wed, Mar 7, 2018 at 10:01 AM, Renato Barros <renalexster(a)gmail.com>
wrote:
>
> Hi folks,
>
> I'd like to know if there is some way to add the Client remote IP on my
> Request Header from API Man.
>
> I need to add a Simple Header Policy with a "X-Forwarded-For" containing
> the client remote ip.
>
> My backend is getting the APIMan IP as remote client, but what I need get
> to client IP.
>
> _______________________________________________
> Apiman-user mailing list
> Apiman-user(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/apiman-user
>
_______________________________________________
Apiman-user mailing list
Apiman-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/apiman-user