Revision: 1778
Author: olavmrk
Date: Thu Sep 24 00:36:45 2009
Log: saml2/idp/SSOService: Fix exception handling from authentication  
modules.

Thanks to Ernesto Revilla for finding and fixing this bug.
http://code.google.com/p/simplesamlphp/source/detail?r=1778

Modified:
  /trunk/www/saml2/idp/SSOService.php

=======================================
--- /trunk/www/saml2/idp/SSOService.php Tue Sep 22 03:11:38 2009
+++ /trunk/www/saml2/idp/SSOService.php Thu Sep 24 00:36:45 2009
@@ -210,10 +210,10 @@

        } elseif (array_key_exists('RequestID', $_REQUEST)) {
                /* This was from an authentication module. */
-               $authId = $_REQUEST['RequestId'];
+               $authId = $_REQUEST['RequestID'];
                $requestcache = $session->getAuthnRequest('saml2', $authId);
                if (!$requestcache) {
-                       throw new Exception('Could not retrieve saved request 
while handling  
exceptions. RequestId=' . var_export($authId, TRUE));
+                       throw new Exception('Could not retrieve saved request 
while handling  
exceptions. RequestID=' . var_export($authId, TRUE));
                }

        } else {

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/simplesamlphp-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to