https://bz.apache.org/bugzilla/show_bug.cgi?id=63556
Bug ID: 63556
Summary: Mark request as forwarded in
RemoteIpValve/RemoteIpFilter
Product: Tomcat 9
Version: 9.0.x
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
In some situations you'd like to know from a component whether your request has
been forwarded by a reverse proxy.
A real life usecase:
HTTPd => Tomcat; Tomcat does auth, logs in access.log => HTTPd => logs in
access.log, REMOTE_USER is empty. Logs are inconsistent.
If this flag is set AuthenticatorBase can check this and write
request#getRemoteUser() + auth method to the response headers which HTTPd can
picked up and make access.log consistent.
This is required by: 62496
A PR is in preparation.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]