AuthenticationResource: use 'X-Forwarded-For' when logging

Description

Whenever the X-Forwarded-For header is present, make use of it to log the actual client IP (instead of using the remoteAddr property, which in that case contains a proxy IP).

Activity

Show:
R
October 22, 2018, 9:25 AM

Not needed, as setting org.apache.felix.proxy.load.balancer.connection.enable to 'true' takes care of rewriting the request, with the actual client IP.

Won't Fix

Assignee

Unassigned

Reporter

R

Labels

None

Priority

Minor
Configure