Revision: 2192
Author: olavmrk
Date: Wed Feb 24 06:40:44 2010
Log: IdP: Add logout association IdP when upgrading
http://code.google.com/p/simplesamlphp/source/detail?r=2192
Modified:
/trunk/lib/SimpleSAML/IdP.php
=======================================
--- /trunk/lib/SimpleSAML/IdP.php Wed Feb 17 11:13:41 2010
+++ /trunk/lib/SimpleSAML/IdP.php Wed Feb 24 06:40:44 2010
@@ -199,7 +199,16 @@
public function getAssociations() {
$session = SimpleSAML_Session::getInstance();
- return $session->getAssociations($this->associationGroup);
+
+ $associations =
$session->getAssociations($this->associationGroup);
+
+ foreach ($associations as &$a) {
+ if (!isset($a['core:IdP'])) {
+ $a['core:IdP'] = $this->id;
+ }
+ }
+
+ return $associations;
}
--
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.