Add REMOTE_USER to built-in cleared list.
authorScott Cantor <cantor.2@osu.edu>
Tue, 12 Jun 2007 14:34:08 +0000 (14:34 +0000)
committerScott Cantor <cantor.2@osu.edu>
Tue, 12 Jun 2007 14:34:08 +0000 (14:34 +0000)
shibsp/ServiceProvider.cpp

index 3a4bb6d..d71d759 100644 (file)
@@ -93,6 +93,7 @@ namespace shibsp {
         request.clearHeader("Shib-AuthnContext-Decl", "HTTP_SHIB_AUTHNCONTEXT_DECL");
         request.clearHeader("Shib-Attributes", "HTTP_SHIB_ATTRIBUTES");
         request.clearHeader("Shib-Assertion-Count", "HTTP_SHIB_ASSERTION_COUNT");
+        request.clearHeader("REMOTE_USER", "HTTP_REMOTE_USER");
         //request.clearHeader("Shib-Application-ID");   handle inside app method
         request.getApplication().clearAttributeHeaders(request);
     }