Revision: 1741
Author: olavmrk
Date: Thu Sep 3 03:37:23 2009
Log: frontpage_federation: Add metadata-hosted hook.
http://code.google.com/p/simplesamlphp/source/detail?r=1741
Modified:
/trunk/modules/core/www/frontpage_federation.php
=======================================
--- /trunk/modules/core/www/frontpage_federation.php Fri Aug 28 00:47:22
2009
+++ /trunk/modules/core/www/frontpage_federation.php Thu Sep 3 03:37:23
2009
@@ -79,7 +79,8 @@
SimpleSAML_Module::callHooks('frontpage', $allLinks);
-
+$metadataHosted = array();
+SimpleSAML_Module::callHooks('metadata_hosted', $metadataHosted);
@@ -91,7 +92,7 @@
$metadata =
SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler();
-$metaentries = array('hosted' => array(), 'remote' => array() );
+$metaentries = array('hosted' => $metadataHosted, 'remote' => array() );
if ($config->getBoolean('enable.saml20-sp', TRUE) === true) {
try {
$metaentries['hosted']['saml20-sp'] =
$metadata->getMetaDataCurrent('saml20-sp-hosted');
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---