Revision: 2281
Author: olavmrk
Date: Wed May  5 23:26:29 2010
Log: www/saml2/sp/initSLO.php: Fix logout when IdP doesn't have a SingleLogoutService endpoint.
http://code.google.com/p/simplesamlphp/source/detail?r=2281

Modified:
 /trunk/www/saml2/sp/initSLO.php

=======================================
--- /trunk/www/saml2/sp/initSLO.php     Wed Nov  4 05:53:09 2009
+++ /trunk/www/saml2/sp/initSLO.php     Wed May  5 23:26:29 2010
@@ -30,6 +30,7 @@
$idpMetadata = $metadata->getMetaDataConfig($idpEntityId, 'saml20-idp-remote'); $SLOendpoint = $idpMetadata->getDefaultEndpoint('SingleLogoutService', array(SAML2_Const::BINDING_HTTP_REDIRECT), NULL);
        if ($SLOendpoint === NULL) {
+               $session->doLogout();
SimpleSAML_Logger::info('SAML2.0 - SP.initSLO: No supported SingleLogoutService endpoint in IdP.');
                SimpleSAML_Utilities::redirect($returnTo);
        }

--
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