[Bug 62496] Add possibility write remote user/auth type to response header

2019-07-09 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62496 Bug 62496 depends on bug 63556, which changed state. Bug 63556 Summary: Mark request as forwarded in RemoteIpValve and RemoteIpFilter https://bz.apache.org/bugzilla/show_bug.cgi?id=63556 What|Removed |Added

[Bug 62496] Add possibility write remote user/auth type to response header

2019-07-09 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62496 Michael Osipov changed: What|Removed |Added Depends on||63556 Referenced Bugs:

[Bug 62496] Add possibility write remote user/auth type to response header

2018-06-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62496 --- Comment #8 from Michael Osipov <1983-01...@gmx.net> --- (In reply to Christopher Schultz from comment #4) Oh, I forgot. Here is the code I have put on the server now: https://sourceforge.net/p/mo-tomcat-ext/code/121/ -- You are receiving

[Bug 62496] Add possibility write remote user/auth type to response header

2018-06-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62496 --- Comment #7 from Michael Osipov <1983-01...@gmx.net> --- (In reply to Christopher Schultz from comment #4) > Well, there doesn't seem to be a need to implement this as a Valve (unless > I'm missing something important), so let's implement it

[Bug 62496] Add possibility write remote user/auth type to response header

2018-06-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62496 --- Comment #6 from Rainer Jung --- I should have added, how such a headers filter or valve would then be used: Header set X-Remote-User %{REMOTE_USER} That would be httpd syntax, it could be adjusted for our uses. Also %{REMOTE_USER} is

[Bug 62496] Add possibility write remote user/auth type to response header

2018-06-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62496 --- Comment #5 from Rainer Jung --- I wonder how hard it would be to rewrite something like mod_headers in Java. Similar to our RewriteValve that mimics mod_rewrite. That would be more flexible, but we would need to find a good place to put

[Bug 62496] Add possibility write remote user/auth type to response header

2018-06-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62496 --- Comment #4 from Christopher Schultz --- Well, there doesn't seem to be a need to implement this as a Valve (unless I'm missing something important), so let's implement it as a Filter. The other filters Tomcat provides are all in the

[Bug 62496] Add possibility write remote user/auth type to response header

2018-06-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62496 --- Comment #3 from Michael Osipov <1983-01...@gmx.net> --- (In reply to Christopher Schultz from comment #2) > Seems reasonable. > > Care to prepare a patch, including javadoc + XML/HTML documentation? The patch isn't an issue. I'd like to

[Bug 62496] Add possibility write remote user/auth type to response header

2018-06-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62496 --- Comment #2 from Christopher Schultz --- Seems reasonable. Care to prepare a patch, including javadoc + XML/HTML documentation? -- You are receiving this mail because: You are the assignee for the bug.

[Bug 62496] Add possibility write remote user/auth type to response header

2018-06-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62496 --- Comment #1 from Michael Osipov <1983-01...@gmx.net> --- One glitch: "Header unset X-Remote-User" is missing from the config. -- You are receiving this mail because: You are the assignee for the bug.