mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-21 15:02:40 +00:00
Monotone-Parent: 5c48c42bca0a7fa0557036bfc2d88588e16def7c
Monotone-Revision: 4d227ae1db769ca9d27ac9a35d2adefaab441fa1 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-09-15T14:05:09 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
2df33fb74a
commit
31fdad1711
1 file changed
+2
-4
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user