Skip to content
Snippets Groups Projects
Commit e3fbe58a authored by Hans Zandbelt's avatar Hans Zandbelt
Browse files

deal with WS-Fed logout callback

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1061 44740490-163a-0410-bde0-09ae8108e29a
parent cfd5906f
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,6 @@
/**
* WS-Federation/ADFS PRP protocol support for simpleSAMLphp.
*
* This endpoint currently only supports assertions. Logout is not implemented.
*
* The AssertionConsumerService handler accepts responses from a WS-Federation
* Account Partner using the Passive Requestor Profile (PRP) and handles it as
* a Resource Partner. It receives a response, parses it and passes on the
......@@ -25,6 +23,11 @@ SimpleSAML_Logger::info('WS-Fed - SP.AssertionConsumerService: Accessing WS-Fed
if (!$config->getBoolean('enable.wsfed-sp', false))
SimpleSAML_Utilities::fatalError($session->getTrackID(), 'NOACCESS');
if (!empty($_GET['wa']) and ($_GET['wa'] == 'wsignoutcleanup1.0')) {
print 'Logged Out';
exit;
}
/* Make sure that the correct query parameters are passed to this script. */
try {
if (empty($_POST['wresult'])) {
......
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