[cpp-sp] branch master updated: Collapse extended SessionCache interface.

Scott Cantor cantor.2 at osu.edu
Mon Feb 5 15:27:34 EST 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=bffb9765ae131fc6fbdfa40dcfd9ff0e3cd00961

The following commit(s) were added to refs/heads/master by this push:
       new  bffb976   Collapse extended SessionCache interface.
bffb976 is described below

commit bffb9765ae131fc6fbdfa40dcfd9ff0e3cd00961
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Feb 5 15:27:30 2018 -0500

    Collapse extended SessionCache interface.
---
 shibsp/handler/impl/AssertionLookup.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shibsp/handler/impl/AssertionLookup.cpp b/shibsp/handler/impl/AssertionLookup.cpp
index e031f27..82c97f9 100644
--- a/shibsp/handler/impl/AssertionLookup.cpp
+++ b/shibsp/handler/impl/AssertionLookup.cpp
@@ -28,7 +28,7 @@
 #include "exceptions.h"
 #include "Application.h"
 #include "ServiceProvider.h"
-#include "SessionCacheEx.h"
+#include "SessionCache.h"
 #include "SPRequest.h"
 #include "handler/RemotedHandler.h"
 #include "handler/SecuredHandler.h"
@@ -156,7 +156,7 @@ pair<bool,long> AssertionLookup::processMessage(const Application& application,
 
     m_log.debug("processing assertion lookup request (session: %s, assertion: %s)", key, ID);
 
-    SessionCacheEx* cache = dynamic_cast<SessionCacheEx*>(application.getServiceProvider().getSessionCache());
+    SessionCache* cache = application.getServiceProvider().getSessionCache();
     if (!cache) {
         m_log.error("session cache does not support extended API");
         throw FatalProfileException("Session cache does not support assertion lookup.");

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list