From be167e4a60e949c1f54a67368b283dd3cf2d6467 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 22 Jun 2010 15:22:12 +0000 Subject: [PATCH] Monotone-Parent: 406f448ce3cddf83f0b7075cd2e1698b2fbbc5d0 Monotone-Revision: 60c0036b3723ee42d8b8cbed474b6c6eac6c5e9a Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-06-22T15:22:12 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 6 ++++++ SoObjects/SOGo/SOGoDAVAuthenticator.m | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0d92c03af..463210821 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-06-22 Wolfgang Sourdeau + + * SoObjects/SOGo/SOGoDAVAuthenticator.m (-checkLogin:andPassword:) + we save the CAS session information to the cache after a + successful authentication/validation. + 2010-06-18 Wolfgang Sourdeau * SoObjects/SOGo/SOGoDAVAuthenticator.m (-checkLogin:andPassword:) diff --git a/SoObjects/SOGo/SOGoDAVAuthenticator.m b/SoObjects/SOGo/SOGoDAVAuthenticator.m index be9ee902e..0700d21cd 100644 --- a/SoObjects/SOGo/SOGoDAVAuthenticator.m +++ b/SoObjects/SOGo/SOGoDAVAuthenticator.m @@ -72,8 +72,9 @@ /* CAS authentication for DAV requires using a proxy */ session = [SOGoCASSession CASSessionWithTicket: _pwd fromProxy: YES]; - if (session) - rc = [[session login] isEqualToString: _login]; + rc = [[session login] isEqualToString: _login]; + if (rc) + [session updateCache]; } }