-
Enhancement
-
Resolution: Done
-
Major
-
JWS30 1.2.12.GA, JWS30 1.3.0.GA, JWS31 1.0.0.GA
registry.access.redhat.com/jboss-webserver-3/webserver30-tomcat7-openshift:1.2-31
Currently this is not configured and HttpServletRequest.getRemoteHost() returns router address instead of client IP address. It would be great if it's configured by default and reflect X_Forwarded_For value to this API. Also it would be nice if we have a switch to disable RemoteIPValve installation for migrated apps that already proxy aware and read X_Forwarded_For header directly.
In OpenShift 2 RemoteIPValve was configured by default:
<Valve className="org.apache.catalina.valves.RemoteIpValve" protocolHeader="x-forwarded-proto" />
- is incorporated by
-
CLOUD-1784 [COMMON] Make the accessLog valve configurable
- Verified
- is related to
-
CLOUD-1820 StdoutAccessLogValve should also log X-Forwarded-For header
- Verified
-
CLOUD-2024 [EAP6] Enable RemoteIPValve by default
- Verified
- relates to
-
CLOUD-2152 [tracker] Sprint 12 release
- Closed