mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 04:15:26 +00:00
Monotone-Parent: 889bc0c0dd5472ad45082fbd6acb931a2874648f
Monotone-Revision: e5c0dcb0589437eaceeabfaf2552be656e7a33c8 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-12-02T20:55:13 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2009-12-02 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* 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.
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
@class NGLdapConnection;
|
||||
@class NGLdapEntry;
|
||||
|
||||
@interface LDAPSource : NSObject <SOGoSource>
|
||||
@interface LDAPSource : NSObject <SOGoDNSource>
|
||||
{
|
||||
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 */
|
||||
|
||||
@@ -50,4 +50,11 @@
|
||||
|
||||
@end
|
||||
|
||||
@protocol SOGoDNSource <SOGoSource>
|
||||
|
||||
- (NSString *) lookupLoginByDN: (NSString *) theDN;
|
||||
- (NSString *) baseDN;
|
||||
|
||||
@end
|
||||
|
||||
#endif /* SOGOSOURCE_H */
|
||||
|
||||
Reference in New Issue
Block a user