Monotone-Parent: 3a085f426d0d1d08eb05a5e1cc11cb42d8ea82d4

Monotone-Revision: 8a8e7d68b4c6cc0ee67c2aa92e9417ba89858e50

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-11-08T19:56:18
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-11-08 19:56:18 +00:00
parent 31f1102520
commit b9c25cf29d
5 changed files with 260 additions and 175 deletions
+4 -5
View File
@@ -47,6 +47,7 @@
#import <SoObjects/SOGo/SOGoUserFolder.h>
#import <SoObjects/SOGo/SOGoUser.h>
#import <SoObjects/SOGo/SOGoWebAuthenticator.h>
#import <SoObjects/SOGo/WORequest+SOGo.h>
#import "build.h"
#import "SOGoProductLoader.h"
@@ -236,13 +237,11 @@ static BOOL debugObjectAllocation = NO;
- (id) authenticatorInContext: (WOContext *) context
{
id authenticator;
NSString *key;
key = [[context request] requestHandlerKey];
if ([key isEqualToString: @"dav"])
authenticator = [SOGoDAVAuthenticator sharedSOGoDAVAuthenticator];
else
if ([[context request] handledByDefaultHandler])
authenticator = [SOGoWebAuthenticator sharedSOGoWebAuthenticator];
else
authenticator = [SOGoDAVAuthenticator sharedSOGoDAVAuthenticator];
return authenticator;
}