Revision: 2170
Author: olavmrk
Date: Thu Feb 11 05:45:40 2010
Log: saml: More logging when sending and receiving logout messages.
http://code.google.com/p/simplesamlphp/source/detail?r=2170
Modified:
/trunk/modules/saml/lib/Auth/Source/SP.php
/trunk/modules/saml/www/sp/saml1-acs.php
/trunk/modules/saml/www/sp/saml2-acs.php
=======================================
--- /trunk/modules/saml/lib/Auth/Source/SP.php Wed Dec 16 06:09:00 2009
+++ /trunk/modules/saml/lib/Auth/Source/SP.php Thu Feb 11 05:45:40 2010
@@ -209,6 +209,8 @@
$id = SimpleSAML_Auth_State::saveState($state, 'saml:sp:sso',
TRUE);
$ar->setId($id);
+ SimpleSAML_Logger::debug('Sending SAML 2 AuthnRequest to ' .
var_export($idpMetadata->getString('entityid'), TRUE));
+
$b = new SAML2_HTTPRedirect();
$b->setDestination(sspmod_SAML2_Message::getDebugDestination());
$b->send($ar);
=======================================
--- /trunk/modules/saml/www/sp/saml1-acs.php Mon Oct 26 06:18:56 2009
+++ /trunk/modules/saml/www/sp/saml1-acs.php Thu Feb 11 05:45:40 2010
@@ -17,6 +17,8 @@
$source =
SimpleSAML_Auth_Source::getById($sourceId, 'sspmod_saml_Auth_Source_SP');
+SimpleSAML_Logger::debug('Received SAML1 response');
+
$state =
SimpleSAML_Auth_State::loadState($_REQUEST['TARGET'], 'saml:sp:sso');
=======================================
--- /trunk/modules/saml/www/sp/saml2-acs.php Mon Oct 26 06:18:56 2009
+++ /trunk/modules/saml/www/sp/saml2-acs.php Thu Feb 11 05:45:40 2010
@@ -37,6 +37,8 @@
if ($idp === NULL) {
throw new Exception('Missing <saml:Issuer> in message delivered to
AssertionConsumerService.');
}
+
+SimpleSAML_Logger::debug('Received SAML2 Response from ' .
var_export($idp, TRUE) . '.');
$metadata =
SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler();
$idpMetadata = $source->getIdPmetadata($idp);
--
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.