Revision: 2224
Author: olavmrk
Date: Fri Mar 19 00:57:53 2010
Log: saml: Fix exception when unable to find metadata for an IdP.
Fixes issue 295.
http://code.google.com/p/simplesamlphp/source/detail?r=2224
Modified:
/trunk/modules/saml/lib/Auth/Source/SP.php
=======================================
--- /trunk/modules/saml/lib/Auth/Source/SP.php Thu Feb 11 05:45:40 2010
+++ /trunk/modules/saml/lib/Auth/Source/SP.php Fri Mar 19 00:57:53 2010
@@ -105,7 +105,7 @@
assert('is_string($entityId)');
if ($this->idp !== NULL && $this->idp !== $entityId) {
- throw new SimpleSAML_Error_Exception('Cannot retrieve metadata for
IdP ' . var_export($idp, TRUE) .
+ throw new SimpleSAML_Error_Exception('Cannot retrieve metadata for
IdP ' . var_export($this->idp, TRUE) .
' because it isn\'t a valid IdP for this SP.');
}
--
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.