Rewrite http header
Hello all,
I have a SAP ITS running on top of IIS 5 - for an external authentication option with ITS I need to rewrite the http header. What should happen is:
1. Request (from external servlet) requests ITS URL on IIS
2. IIS function (whatever - that's the bit I need to write) steps in, evaluates http header contents, rewrites http header variable "remote_user" and sends request on its way to originally requested URL (from step 1)
3. It must be assured that all requests run through my filter (that is, a forged request header with same remote_user as my step 2, but not originated from my servlet of step 1 mustn't be forwarded to ITS).
What would be the technology of choice to implement this?
Could somebody pls.
1) Tell me if I'm guessing right
2) Tell me if there's some other way to accomplish this (C++ is not my favourite programming language)
3) If there's no other way point me to some code samples, background technology stuff about writing filters
Your help is greatly appreciated!
Cheers,
Markus
|