Session* session = NULL;
try {
- session = app->getServiceProvider().getSessionCache()->find(*req.get(), *app, NULL, NULL);
+ session = app->getServiceProvider().getSessionCache()->find(*app, *req.get(), NULL, NULL);
}
catch (exception& ex) {
m_log.error("error accessing current session: %s", ex.what());
else {
m_log.error("no NameID or issuing entityID found in session");
session->unlock();
- app->getServiceProvider().getSessionCache()->remove(*req.get(), resp.get(), *app);
+ app->getServiceProvider().getSessionCache()->remove(*app, *req.get(), resp.get());
}
}
out << ret;
vector<string> sessions(1, session->getID());
if (!notifyBackChannel(application, httpRequest.getRequestURL(), sessions, false)) {
session->unlock();
- application.getServiceProvider().getSessionCache()->remove(httpRequest, &httpResponse, application);
+ application.getServiceProvider().getSessionCache()->remove(application, httpRequest, &httpResponse);
return sendLogoutPage(application, httpResponse, true, "Partial logout failure.");
}
if (session) {
session->unlock();
session = NULL;
- application.getServiceProvider().getSessionCache()->remove(httpRequest, &httpResponse, application);
+ application.getServiceProvider().getSessionCache()->remove(application, httpRequest, &httpResponse);
}
return ret;
}
if (session) {
session->unlock();
session = NULL;
- application.getServiceProvider().getSessionCache()->remove(httpRequest, &httpResponse, application);
+ application.getServiceProvider().getSessionCache()->remove(application, httpRequest, &httpResponse);
}
return ret;
#else
session->unlock();
- application.getServiceProvider().getSessionCache()->remove(httpRequest, &httpResponse, application);
+ application.getServiceProvider().getSessionCache()->remove(application, httpRequest, &httpResponse);
throw ConfigurationException("Cannot perform logout using lite version of shibsp library.");
#endif
}