Revision: 1758
Author: olavmrk
Date: Wed Sep 16 04:11:31 2009
Log: SimpleSAML_Metadata_SAMLParser: Add the attributes that SAML 1 SPs
should receive.
http://code.google.com/p/simplesamlphp/source/detail?r=1758
Modified:
/trunk/lib/SimpleSAML/Metadata/SAMLParser.php
=======================================
--- /trunk/lib/SimpleSAML/Metadata/SAMLParser.php Wed Sep 9 23:32:22 2009
+++ /trunk/lib/SimpleSAML/Metadata/SAMLParser.php Wed Sep 16 04:11:31 2009
@@ -484,6 +484,11 @@
} else {
$ret['AssertionConsumerService'] = $acs['Location'];
}
+
+ /* Add the list of attributes the SP should receive. */
+ if (array_key_exists('attributes', $spd)) {
+ $ret['attributes'] = $spd['attributes'];
+ }
/* Add certificate data. Only the first valid certificate will
be added.
*/
foreach($spd['keys'] as $key) {
@@ -636,6 +641,7 @@
$ret['NameIDFormat'] = $spd['nameIDFormats'][0];
}
+ /* Add the list of attributes the SP should receive. */
if (array_key_exists('attributes', $spd)) {
$ret['attributes'] = $spd['attributes'];
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---