Skip to content
Snippets Groups Projects
Commit b9c1bf81 authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo Committed by GitHub
Browse files

Use appropriate constant

parent 8ee50170
Branches
Tags
No related merge requests found
...@@ -646,7 +646,7 @@ class SimpleSAML_Metadata_SAMLBuilder ...@@ -646,7 +646,7 @@ class SimpleSAML_Metadata_SAMLBuilder
$metadata = SimpleSAML_Configuration::loadFromArray($metadata, $metadata['entityid']); $metadata = SimpleSAML_Configuration::loadFromArray($metadata, $metadata['entityid']);
$e = new \SAML2\XML\md\AttributeAuthorityDescriptor(); $e = new \SAML2\XML\md\AttributeAuthorityDescriptor();
$e->protocolSupportEnumeration = $metadata->getArray('protocols', array('urn:oasis:names:tc:SAML:2.0:protocol')); $e->protocolSupportEnumeration = $metadata->getArray('protocols', array(\SAML2\Constants::NS_SAMLP));
$this->addExtensions($metadata, $e); $this->addExtensions($metadata, $e);
$this->addCertificate($e, $metadata); $this->addCertificate($e, $metadata);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment