From 71c9e2a0fe23091d8f767388278d899889db3fca Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Tue, 16 Oct 2012 08:51:04 +0000 Subject: [PATCH] saml:SP: Fix metadata generated for HoK profile. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3191 44740490-163a-0410-bde0-09ae8108e29a --- modules/saml/www/sp/metadata.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/saml/www/sp/metadata.php b/modules/saml/www/sp/metadata.php index 25e9d7fd2..4111a6eb1 100644 --- a/modules/saml/www/sp/metadata.php +++ b/modules/saml/www/sp/metadata.php @@ -81,7 +81,7 @@ foreach ($assertionsconsumerservices as $services) { break; case 'urn:oasis:names:tc:SAML:2.0:profiles:holder-of-key:SSO:browser': $acs->Binding = 'urn:oasis:names:tc:SAML:2.0:profiles:holder-of-key:SSO:browser'; - $acs->ProtocolBinding = SAML2_Const::BINDING_HTTP_POST; + $acs->setAttributeNS(SAML2_Const::NS_HOK, 'hoksso:ProtocolBinding', SAML2_Const::BINDING_HTTP_POST); $acs->Location = SimpleSAML_Module::getModuleURL('saml/sp/saml2-acs.php/' . $sourceId); break; } -- GitLab