From 6190a60ed6557e85d6499c0b07092836fd154aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Fri, 20 Feb 2009 14:58:54 +0000 Subject: [PATCH] enable more info in metadata.. was disabled by mistake git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1290 44740490-163a-0410-bde0-09ae8108e29a --- lib/SimpleSAML/Metadata/SAMLBuilder.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/SimpleSAML/Metadata/SAMLBuilder.php b/lib/SimpleSAML/Metadata/SAMLBuilder.php index 735f4d590..315aa91ab 100644 --- a/lib/SimpleSAML/Metadata/SAMLBuilder.php +++ b/lib/SimpleSAML/Metadata/SAMLBuilder.php @@ -230,9 +230,9 @@ class SimpleSAML_Metadata_SAMLBuilder { $e->setAttribute('protocolSupportEnumeration', 'urn:oasis:names:tc:SAML:2.0:protocol'); -# $this->addExtensions($metadata); + $this->addExtensions($metadata); -# $this->addCertificate($e, $metadata); + $this->addCertificate($e, $metadata); if (array_key_exists('SingleLogoutService', $metadata)) { $t = $this->createElement('SingleLogoutService'); @@ -311,7 +311,7 @@ class SimpleSAML_Metadata_SAMLBuilder { $this->entityDescriptor->appendChild($e); -# $this->addOrganizationInfo($metadata); + $this->addOrganizationInfo($metadata); if (array_key_exists('contacts', $metadata) && is_array($metadata['contacts']) ) { foreach($metadata['contacts'] AS $contact) { @@ -352,9 +352,9 @@ class SimpleSAML_Metadata_SAMLBuilder { $e->setAttribute('WantAuthnRequestSigned', 'true'); } -# $this->addExtensions($metadata); + $this->addExtensions($metadata); -# $this->addCertificate($e, $metadata); + $this->addCertificate($e, $metadata); if (array_key_exists('SingleLogoutService', $metadata)) { $t = $this->createElement('SingleLogoutService'); @@ -383,7 +383,7 @@ class SimpleSAML_Metadata_SAMLBuilder { $this->entityDescriptor->appendChild($e); -# $this->addOrganizationInfo($metadata); + $this->addOrganizationInfo($metadata); if (array_key_exists('contacts', $metadata) && is_array($metadata['contacts']) ) { foreach($metadata['contacts'] AS $contact) { @@ -418,7 +418,7 @@ class SimpleSAML_Metadata_SAMLBuilder { $e = $this->createElement('SPSSODescriptor'); $e->setAttribute('protocolSupportEnumeration', 'urn:oasis:names:tc:SAML:1.1:protocol'); -# $this->addCertificate($e, $metadata); + $this->addCertificate($e, $metadata); if (array_key_exists('NameIDFormat', $metadata)) { $t = $this->createElement('NameIDFormat'); @@ -449,7 +449,7 @@ class SimpleSAML_Metadata_SAMLBuilder { $e = $this->createElement('IDPSSODescriptor'); $e->setAttribute('protocolSupportEnumeration', 'urn:oasis:names:tc:SAML:1.1:protocol'); -# $this->addCertificate($e, $metadata); + $this->addCertificate($e, $metadata); if (array_key_exists('NameIDFormat', $metadata)) { $t = $this->createElement('NameIDFormat'); -- GitLab