mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-25 08:23:28 +00:00
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:
+4
-5
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user