Wrong key passed to session lookup.
authorScott Cantor <cantor.2@osu.edu>
Sat, 15 Dec 2007 23:55:33 +0000 (23:55 +0000)
committerScott Cantor <cantor.2@osu.edu>
Sat, 15 Dec 2007 23:55:33 +0000 (23:55 +0000)
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.");