Wrong key passed to session lookup.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Sat, 15 Dec 2007 23:55:33 +0000 (23:55 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Sat, 15 Dec 2007 23:55:33 +0000 (23:55 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@2670 cb58f699-b61c-0410-a6fe-9272a202ed29

shibsp/handler/impl/AssertionLookup.cpp

index 8ae7e10..990d7d7 100644 (file)
@@ -183,7 +183,7 @@ pair<bool,long> AssertionLookup::processMessage(const Application& application,
     }
 
     // The cache will either silently pass a session or NULL back, or throw an exception out.
-    Session* session = cache->find(application, ID);
+    Session* session = cache->find(application, key);
     if (!session) {
         m_log.error("valid session (%s) not found for assertion lookup", key);
         throw FatalProfileException("Session key not found.");