From 31fdad17116c273361563cd6043551127742cc0b Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 15 Sep 2009 14:05:09 +0000 Subject: [PATCH] Monotone-Parent: 5c48c42bca0a7fa0557036bfc2d88588e16def7c Monotone-Revision: 4d227ae1db769ca9d27ac9a35d2adefaab441fa1 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-09-15T14:05:09 Monotone-Branch: ca.inverse.sogo --- SoObjects/SOGo/SOGoProxyAuthenticator.m | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/SoObjects/SOGo/SOGoProxyAuthenticator.m b/SoObjects/SOGo/SOGoProxyAuthenticator.m index 450151184..47686f63b 100644 --- a/SoObjects/SOGo/SOGoProxyAuthenticator.m +++ b/SoObjects/SOGo/SOGoProxyAuthenticator.m @@ -37,10 +37,6 @@ #import "SOGoProxyAuthenticator.h" -#warning we need to adjust this class for managing the "authorization" \ - header provided by authenticators like "Basic", which do not provide \ - a "remote_user" variable. - @implementation SOGoProxyAuthenticator + (id) sharedSOGoProxyAuthenticator @@ -93,6 +89,8 @@ { NSString *remoteUser; + /* If such a header is not provided by the proxy, SOPE will attempt to + deduce it from the "Authorization" header. */ remoteUser = [[context request] headerForKey: @"x-webobjects-remote-user"]; return remoteUser;