Monotone-Parent: 51ae133015c75bd8a41f4433161a2453843b1e5d

Monotone-Revision: d79b964251d15b7acc0c9041a52208b72d00bbd6

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-06-18T13:30:05
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-06-18 13:30:05 +00:00
parent c7d305e36f
commit 43f248db6f
2 changed files with 11 additions and 4 deletions
+7
View File
@@ -1,3 +1,10 @@
2010-06-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoDAVAuthenticator.m (-checkLogin:andPassword:)
(imapPasswordInContext:forServer:forceRenew:): when using CAS
authentication, make use of the password as a CAS ticket instead
of as identifier, since we don't make use of those in DAV.
2010-06-17 Francis Lachapelle <flachapelle@inverse.ca>
* UI/WebServerResources/UIxMailToSelection.js
+4 -4
View File
@@ -70,8 +70,8 @@
if ([[sd davAuthenticationType] isEqualToString: @"cas"])
{
/* CAS authentication for DAV requires using a proxy */
session = [SOGoCASSession CASSessionWithIdentifier: _pwd
fromProxy: YES];
session = [SOGoCASSession CASSessionWithTicket: _pwd
fromProxy: YES];
if (session)
rc = [[session login] isEqualToString: _login];
}
@@ -111,8 +111,8 @@
sd = [SOGoSystemDefaults sharedSystemDefaults];
if ([[sd davAuthenticationType] isEqualToString: @"cas"])
{
session = [SOGoCASSession CASSessionWithIdentifier: password
fromProxy: YES];
session = [SOGoCASSession CASSessionWithTicket: password
fromProxy: YES];
service = [NSString stringWithFormat: @"imap://%@", imapServer];
if (renew)
[session invalidateTicketForService: service];