summaryrefslogtreecommitdiffstats
path: root/php/Attic/examples/sample-sp/assertionConsumer.php
diff options
context:
space:
mode:
authorChristophe Nowicki <cnowicki@easter-eggs.com>2004-09-07 15:55:11 +0000
committerChristophe Nowicki <cnowicki@easter-eggs.com>2004-09-07 15:55:11 +0000
commit9388bdfc57a3b49adafc1693d21975214e63a691 (patch)
tree26c56aa58ece110dc7d74ed31531f98f745943e6 /php/Attic/examples/sample-sp/assertionConsumer.php
parented0ad921339c04ae57f48e31be8d4d925585285a (diff)
downloadlasso-9388bdfc57a3b49adafc1693d21975214e63a691.tar.gz
lasso-9388bdfc57a3b49adafc1693d21975214e63a691.tar.xz
lasso-9388bdfc57a3b49adafc1693d21975214e63a691.zip
IdP PHP : logout is working
Diffstat (limited to 'php/Attic/examples/sample-sp/assertionConsumer.php')
-rw-r--r--php/Attic/examples/sample-sp/assertionConsumer.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/php/Attic/examples/sample-sp/assertionConsumer.php b/php/Attic/examples/sample-sp/assertionConsumer.php
index 4aa45ed8..fc62aec1 100644
--- a/php/Attic/examples/sample-sp/assertionConsumer.php
+++ b/php/Attic/examples/sample-sp/assertionConsumer.php
@@ -47,10 +47,9 @@
$url = parse_url($login->msgUrl);
$soap = sprintf(
- "POST %s HTTP/1.1\r\nHost: %s:%d\r\nAccept-Encoding: identity\r\nContent-Length: %d\r\nContent-Type: text/xml\r\nAccept: text/xml,application/xml,application/xhtml+xml,text/html\r\nConnection: close\r\n\r\n%s\r\n",
+ "POST %s HTTP/1.1\r\nHost: %s:%d\r\nContent-Length: %d\r\nContent-Type: text/xml\r\n\r\n%s\r\n",
$url['path'], $url['host'], $url['port'], strlen($login->msgBody), $login->msgBody);
-
# PHP 4.3.0 with OpenSSL support required
$fp = fsockopen("ssl://" . $url['host'], $url['port'], $errno, $errstr, 30) or die($errstr ($errno));
fwrite($fp, $soap);