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

SAML2: Sign responses sent using the SOAP binding.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2758 44740490-163a-0410-bde0-09ae8108e29a
parent e665d356
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
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