Monotone-Parent: 6661b82baa487cf8e72c04a8e31c6c05b7c58321
Monotone-Revision: 04b625432f61d61c8ad3468663a06f21d77e73f6 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-01-31T00:53:37 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
764e5404b8
commit
7ab5be678e
12
ChangeLog
12
ChangeLog
|
@ -1,5 +1,17 @@
|
||||||
2010-01-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
2010-01-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||||
|
|
||||||
|
* SoObjects/SOGo/SOGoWebAuthenticator.h: conforms to
|
||||||
|
SOGoAuthenticator protocol.
|
||||||
|
|
||||||
|
* SoObjects/SOGo/SOGoDAVAuthenticator.h: conforms to
|
||||||
|
SOGoAuthenticator protocol.
|
||||||
|
|
||||||
|
* SoObjects/SOGo/SOGoProxyAuthenticator.m
|
||||||
|
(-imapPasswordInContext:forServer:forceRenew:): added method.
|
||||||
|
Returns nil when renew is set to YES so that no real retry occurs
|
||||||
|
(convention: null password is NO password) but returns an empty
|
||||||
|
string by default.
|
||||||
|
|
||||||
* SoObjects/SOGo/SOGoUserFolder.m (-ownerInContext:): invoke
|
* SoObjects/SOGo/SOGoUserFolder.m (-ownerInContext:): invoke
|
||||||
setOwner: to retain user.
|
setOwner: to retain user.
|
||||||
|
|
||||||
|
|
|
@ -42,9 +42,6 @@
|
||||||
|
|
||||||
+ (id) sharedSOGoDAVAuthenticator;
|
+ (id) sharedSOGoDAVAuthenticator;
|
||||||
|
|
||||||
- (SOGoUser *) userInContext: (WOContext *) _ctx;
|
|
||||||
- (NSString *) passwordInContext: (WOContext *) context;
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
#endif /* _SOGoDAVAuthenticator_H__ */
|
#endif /* _SOGoDAVAuthenticator_H__ */
|
||||||
|
|
|
@ -41,13 +41,10 @@
|
||||||
@class SOGoUser;
|
@class SOGoUser;
|
||||||
|
|
||||||
// @interface SOGoProxyAuthenticator : SoHTTPAuthenticator <SOGoAuthenticator>
|
// @interface SOGoProxyAuthenticator : SoHTTPAuthenticator <SOGoAuthenticator>
|
||||||
@interface SOGoProxyAuthenticator : NSObject
|
@interface SOGoProxyAuthenticator : NSObject <SOGoAuthenticator>
|
||||||
|
|
||||||
+ (id) sharedSOGoProxyAuthenticator;
|
+ (id) sharedSOGoProxyAuthenticator;
|
||||||
|
|
||||||
- (SOGoUser *) userInContext: (WOContext *) _ctx;
|
|
||||||
- (NSString *) passwordInContext: (WOContext *) context;
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
#endif /* _SOGoProxyAuthenticator_H__ */
|
#endif /* _SOGoProxyAuthenticator_H__ */
|
||||||
|
|
|
@ -103,6 +103,13 @@
|
||||||
return @"";
|
return @"";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (NSString *) imapPasswordInContext: (WOContext *) context
|
||||||
|
forServer: (NSString *) imapServer
|
||||||
|
forceRenew: (BOOL) renew
|
||||||
|
{
|
||||||
|
return (renew ? nil : @"");
|
||||||
|
}
|
||||||
|
|
||||||
- (WOResponse *) preprocessCredentialsInContext: (WOContext *) context
|
- (WOResponse *) preprocessCredentialsInContext: (WOContext *) context
|
||||||
{
|
{
|
||||||
WOResponse *r;
|
WOResponse *r;
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
@class SOGoUser;
|
@class SOGoUser;
|
||||||
|
|
||||||
@interface SOGoWebAuthenticator : SoCookieAuthenticator
|
@interface SOGoWebAuthenticator : SoCookieAuthenticator <SOGoAuthenticator>
|
||||||
|
|
||||||
+ (id) sharedSOGoWebAuthenticator;
|
+ (id) sharedSOGoWebAuthenticator;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue