diff --git a/SoObjects/SOGo/SOGoCASSession.m b/SoObjects/SOGo/SOGoCASSession.m index 6ab230df2..ce0f8917e 100644 --- a/SoObjects/SOGo/SOGoCASSession.m +++ b/SoObjects/SOGo/SOGoCASSession.m @@ -117,7 +117,6 @@ CASLogoutRequest *rq; SOGoCache *cache; NSBundle *bundle; - NSDictionary *root; NSString *mapFile, *sessionIndex; bundle = [NSBundle bundleForClass: [self class]]; @@ -144,8 +143,7 @@ if ([sessionIndex length]) { - cache = [SOGoCache sharedCache]; - [cache removeCASSessionWithTicket: sessionIndex]; + [[SOGoCache sharedCache] removeCASSessionWithTicket: sessionIndex]; } } diff --git a/Tests/README-cas-logoutRequest b/Tests/README-cas-logoutRequest new file mode 100644 index 000000000..c9b9c9eab --- /dev/null +++ b/Tests/README-cas-logoutRequest @@ -0,0 +1,23 @@ +Sample HTTP request to exercise the CAS handleLogoutRequest code. +Can be fed to sogo using nc or openssl s_client: + nc devsogo 80