Monotone-Parent: ebbadbdb3549dd7264241be0a6c21ab9a481341f

Monotone-Revision: 1fb8a3cbc4132cfe8736e6233d540222301c0485

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-06-10T21:57:14
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-06-10 21:57:14 +00:00
parent e71a5a5ebd
commit 41fe0341a3
2 changed files with 5 additions and 13 deletions
+4
View File
@@ -1,5 +1,9 @@
2010-06-10 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Common/UIxPageFrame.m (-logoffPath): reverted previous change
as we now make use of the logoffAction to redirect to the CAS
logout url.
* SoObjects/SOGo/SOGoSystemDefaults.m (-davAuthenticationType):
new method similar to -authenticationType. Currently used for CAS
or non-CAS authentication.
+1 -13
View File
@@ -26,7 +26,6 @@
#import <NGObjWeb/WOResourceManager.h>
#import <SOGo/NSDictionary+Utilities.h>
#import <SOGo/NSString+Utilities.h>
#import <SOGo/SOGoUser.h>
#import <SOGo/SOGoUserDefaults.h>
#import <SOGo/SOGoUserProfile.h>
@@ -156,18 +155,7 @@
- (NSString *) logoffPath
{
NSString *logoffPath;
SOGoSystemDefaults *sd;
sd = [SOGoSystemDefaults sharedSystemDefaults];
if ([[sd authenticationType] isEqualToString: @"cas"])
logoffPath = [[sd CASServiceURL] composeURLWithAction: @"logout"
parameters: nil
andHash: NO];
else
logoffPath = [self relativePathToUserFolderSubPath: @"logoff"];
return logoffPath;
return [self relativePathToUserFolderSubPath: @"logoff"];
}
/* popup handling */