Revision: 2255
Author: olavmrk
Date: Tue Apr 20 05:51:38 2010
Log: saml:IdP: Make it possible to override the entityID that is logged in statistics.
http://code.google.com/p/simplesamlphp/source/detail?r=2255

Modified:
 /trunk/modules/saml/lib/IdP/SAML2.php

=======================================
--- /trunk/modules/saml/lib/IdP/SAML2.php       Mon Mar  1 02:35:49 2010
+++ /trunk/modules/saml/lib/IdP/SAML2.php       Tue Apr 20 05:51:38 2010
@@ -400,7 +400,9 @@
                } elseif ($message instanceof SAML2_LogoutRequest) {

SimpleSAML_Logger::info('Received SAML 2.0 LogoutRequest from: '. var_export($spEntityId, TRUE)); - SimpleSAML_Logger::stats('saml20-idp-SLO spinit ' . $spEntityId . ' ' . $idpMetadata->getString('entityid'));
+
+                       $spStatsId = 
$spMetadata->getString('core:statistics-id', $spEntityId);
+ SimpleSAML_Logger::stats('saml20-idp-SLO spinit ' . $spStatsId . ' ' . $idpMetadata->getString('entityid'));

                        $state = array(
                                'Responder' => array('sspmod_saml_IdP_SAML2', 
'sendLogoutResponse'),

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