Skip to content
Snippets Groups Projects
Commit 941ca9a5 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Fix bug in Metarefresh module, adding attributeauthority...

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1968 44740490-163a-0410-bde0-09ae8108e29a
parent b20fb169
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,11 @@ class sspmod_metarefresh_MetaLoader { ...@@ -57,7 +57,11 @@ class sspmod_metarefresh_MetaLoader {
$this->addMetadata($source['src'], $entity->getMetadata1xIdP(), 'shib13-idp-remote', $template); $this->addMetadata($source['src'], $entity->getMetadata1xIdP(), 'shib13-idp-remote', $template);
$this->addMetadata($source['src'], $entity->getMetadata20SP(), 'saml20-sp-remote', $template); $this->addMetadata($source['src'], $entity->getMetadata20SP(), 'saml20-sp-remote', $template);
$this->addMetadata($source['src'], $entity->getMetadata20IdP(), 'saml20-idp-remote', $template); $this->addMetadata($source['src'], $entity->getMetadata20IdP(), 'saml20-idp-remote', $template);
$this->addMetadata($source['src'], $entity->getAttributeAuthorities(), 'attributeauthority-remote', $template); $attributeAuthorities = $entity->getAttributeAuthorities();
if (!empty($attributeAuthorities)) {
$this->addMetadata($source['src'], $attributeAuthorities[0], 'attributeauthority-remote', $template);
}
} }
} }
......
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