From 1a7439b96e68467e9157d25f2a065d401266e3e7 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Mon, 7 Mar 2011 13:26:08 +0000 Subject: [PATCH] SAML2: Sign responses sent using the SOAP binding. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2758 44740490-163a-0410-bde0-09ae8108e29a --- lib/SAML2/SOAP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SAML2/SOAP.php b/lib/SAML2/SOAP.php index 937590b5f..e55646c87 100644 --- a/lib/SAML2/SOAP.php +++ b/lib/SAML2/SOAP.php @@ -20,7 +20,7 @@ class SAML2_SOAP extends SAML2_Binding { $outputFromIdp = '<?xml version="1.0" encoding="UTF-8"?>'; $outputFromIdp .= '<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">'; $outputFromIdp .= '<SOAP-ENV:Body>'; - $xmlMessage = $message->toUnsignedXML(); + $xmlMessage = $message->toSignedXML(); SimpleSAML_Utilities::debugMessage($xmlMessage, 'out'); $tempOutputFromIdp = $xmlMessage->ownerDocument->saveXML($xmlMessage); $outputFromIdp .= $tempOutputFromIdp; -- GitLab