Monotone-Parent: 061cba1969b1c526f888bff270f05c4fbb1825d1

Monotone-Revision: 2b34b89b1b94711bf4f516a1204ac918c0e2edd2

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-10-18T22:48:34
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-10-18 22:48:34 +00:00
parent 33cbdee684
commit 80e74f3de2
2 changed files with 21 additions and 0 deletions
+4
View File
@@ -1,5 +1,9 @@
2007-10-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoWebAuthenticator.m ([SOGoWebAuthenticator
-userInContext:]): override the super method by returning
anonymous if the super returns nil.
* UI/Common/UIxPageFrame.m ([UIxPageFrame
-productLocalizableStrings]): new method that returns the
product-specific translation dictionary as a JSON hash.
+17
View File
@@ -92,6 +92,23 @@
// && [_pwd isEqualToString: @"freebusy"]));
}
- (SOGoUser *) userInContext: (WOContext *)_ctx
{
static SOGoUser *anonymous = nil;
SOGoUser *user;
if (!anonymous)
anonymous
= [[SOGoUser alloc] initWithLogin: @"anonymous"
roles: [NSArray arrayWithObject: SoRole_Anonymous]];
user = (SOGoUser *) [super userInContext: _ctx];
if (!user)
user = anonymous;
return user;
}
- (NSString *) passwordInContext: (WOContext *) context
{
NSArray *creds;