From 538367c8935b33eca9a50851f6bf1fbc210bf4d7 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 2 Dec 2009 20:55:13 +0000 Subject: [PATCH] Monotone-Parent: 889bc0c0dd5472ad45082fbd6acb931a2874648f Monotone-Revision: e5c0dcb0589437eaceeabfaf2552be656e7a33c8 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-12-02T20:55:13 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 3 +++ SoObjects/SOGo/LDAPSource.h | 6 +----- SoObjects/SOGo/SOGoSource.h | 7 +++++++ 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index d91482fbd..08f86c542 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2009-12-02 Wolfgang Sourdeau + * SoObjects/SOGo/SOGoSource.h: added new "SOGoDNSource" protocol + as a child protocol of "SOGoSource". + * SoObjects/SOGo/SOGoUserManager.m: added new "SOGoUserManagerRegistry" class that handles the mapping between source types and their corresponding classes. diff --git a/SoObjects/SOGo/LDAPSource.h b/SoObjects/SOGo/LDAPSource.h index 796f17d0a..0f3cfa34a 100644 --- a/SoObjects/SOGo/LDAPSource.h +++ b/SoObjects/SOGo/LDAPSource.h @@ -32,7 +32,7 @@ @class NGLdapConnection; @class NGLdapEntry; -@interface LDAPSource : NSObject +@interface LDAPSource : NSObject { int queryLimit; int queryTimeout; @@ -76,15 +76,11 @@ IMAPHostField: (NSString *) newIMAPHostField andBindFields: (NSString *) newBindFields; -- (NSString *) lookupLoginByDN: (NSString *) theDN; - - (NGLdapEntry *) lookupGroupEntryByUID: (NSString *) theUID; - (NGLdapEntry *) lookupGroupEntryByEmail: (NSString *) theEmail; - (NGLdapEntry *) lookupGroupEntryByAttribute: (NSString *) theAttribute andValue: (NSString *) theValue; -- (NSString *) baseDN; - @end #endif /* LDAPSOURCE_H */ diff --git a/SoObjects/SOGo/SOGoSource.h b/SoObjects/SOGo/SOGoSource.h index c831ee91d..3c1495a07 100644 --- a/SoObjects/SOGo/SOGoSource.h +++ b/SoObjects/SOGo/SOGoSource.h @@ -50,4 +50,11 @@ @end +@protocol SOGoDNSource + +- (NSString *) lookupLoginByDN: (NSString *) theDN; +- (NSString *) baseDN; + +@end + #endif /* SOGOSOURCE_H */