Skip to content
Snippets Groups Projects
Commit 91192a5f authored by Olav Morken's avatar Olav Morken
Browse files

frontpage_federation: Add metadata-hosted hook.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1741 44740490-163a-0410-bde0-09ae8108e29a
parent 715844a2
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,8 @@ $allLinks = array(
SimpleSAML_Module::callHooks('frontpage', $allLinks);
$metadataHosted = array();
SimpleSAML_Module::callHooks('metadata_hosted', $metadataHosted);
......@@ -91,7 +92,7 @@ SimpleSAML_Module::callHooks('frontpage', $allLinks);
$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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment