Revision: 1743
Author: olavmrk
Date: Thu Sep 3 03:37:43 2009
Log: saml: Add certificate to metadata.
http://code.google.com/p/simplesamlphp/source/detail?r=1743
Modified:
/trunk/modules/saml/www/sp/metadata.php
=======================================
--- /trunk/modules/saml/www/sp/metadata.php Thu Sep 3 03:09:15 2009
+++ /trunk/modules/saml/www/sp/metadata.php Thu Sep 3 03:37:43 2009
@@ -35,6 +35,12 @@
$metaArray20['AssertionConsumerService.artifact'] =
SimpleSAML_Module::getModuleURL('saml/sp/saml2-acs.php');
}
+$certInfo = SimpleSAML_Utilities::loadPublicKey($spconfig->toArray());
+if ($certInfo !== NULL && array_key_exists('certData', $certInfo)) {
+ $certData = $certInfo['certData'];
+ $metaArray11['certData'] = $certData;
+ $metaArray20['certData'] = $certData;
+}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---