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

md:EntityDescriptor: Add Name-attribute to output.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3198 44740490-163a-0410-bde0-09ae8108e29a
parent f4245d6d
No related branches found
No related tags found
No related merge requests found
...@@ -128,6 +128,10 @@ class SAML2_XML_md_EntitiesDescriptor extends SAML2_SignedElementHelper { ...@@ -128,6 +128,10 @@ class SAML2_XML_md_EntitiesDescriptor extends SAML2_SignedElementHelper {
$e->setAttribute('cacheDuration', $this->cacheDuration); $e->setAttribute('cacheDuration', $this->cacheDuration);
} }
if (isset($this->Name)) {
$e->setAttribute('Name', $this->Name);
}
SAML2_XML_md_Extensions::addList($e, $this->Extensions); SAML2_XML_md_Extensions::addList($e, $this->Extensions);
foreach ($this->children as $node) { foreach ($this->children as $node) {
......
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