Revision: 2193
Author: olavmrk
Date: Mon Mar 1 02:35:35 2010
Log: saml:IdP: More logging of logout messages.
http://code.google.com/p/simplesamlphp/source/detail?r=2193
Modified:
/trunk/modules/saml/lib/IdP/SAML2.php
=======================================
--- /trunk/modules/saml/lib/IdP/SAML2.php Wed Feb 17 00:30:36 2010
+++ /trunk/modules/saml/lib/IdP/SAML2.php Mon Mar 1 02:35:35 2010
@@ -385,6 +385,8 @@
if ($spEntityId === NULL) {
throw new SimpleSAML_Error_Exception('Missing <Issuer> in
LogoutResponse.');
}
+
+ SimpleSAML_Logger::info('Received SAML 2.0 LogoutResponse from: '.
var_export($spEntityId, TRUE));
$relayState = $message->getRelayState();
@@ -402,6 +404,7 @@
} 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'));
$state = array(
@@ -431,6 +434,8 @@
public static function getLogoutURL(SimpleSAML_IdP $idp, array
$association, $relayState) {
assert('is_string($relayState) || is_null($relayState)');
+ SimpleSAML_Logger::info('Sending SAML 2.0 LogoutRequest to: '.
var_export($association['saml:entityID'], TRUE));
+
$metadata =
SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler();
$idpMetadata = $idp->getConfig();
$spMetadata =
$metadata->getMetaDataConfig($association['saml:entityID'], 'saml20-sp-remote');
--
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.