Revision: 2021
Author: olavmrk
Date: Thu Dec  3 05:46:28 2009
Log: saml2/idp: Remove some code that should have been removed as part of  
r2020.
http://code.google.com/p/simplesamlphp/source/detail?r=2021

Modified:
  /trunk/www/saml2/idp/SingleLogoutService.php

=======================================
--- /trunk/www/saml2/idp/SingleLogoutService.php        Thu Dec  3 05:24:18 2009
+++ /trunk/www/saml2/idp/SingleLogoutService.php        Thu Dec  3 05:46:28 2009
@@ -276,46 +276,6 @@



-/* Check whether we should authenticate with an AuthSource. Any time the  
auth-option matches a
- * valid AuthSource, we assume that this is the case.
- */
-$auth = $idpMetadata->getString('auth');
-if(SimpleSAML_Auth_Source::getById($idpMetadata->getString('auth')) !==  
NULL) {
-       /* Authenticate with an AuthSource. */
-       $authSource = TRUE;
-       $authority = $idpmetadata['auth'];
-} else {
-       $authSource = FALSE;
-       $authority = SimpleSAML_Utilities::getAuthority($idpmetadata);
-}
-
-/**
- * If there exists a local valid session with the SAML 2.0 module as an  
authority,
- * initiate SAML 2.0 SP Single LogOut, with the RelayState equal this URL.
- */
-if ($session->getAuthority() == 'saml2') {
-
-       $bridgedId = SimpleSAML_Utilities::generateID();
-       $returnTo = SimpleSAML_Utilities::selfURLNoQuery() . '?LogoutID=' .  
$bridgedId;
-
-       /* Save the $logoutInfo until we return from the SP. */
-       saveLogoutInfo($bridgedId);
-
-       SimpleSAML_Utilities::redirect('/' .  
$config->getBaseURL() . 'saml2/sp/initSLO.php',
-               array('RelayState' => $returnTo)
-       );
-}
-
-if ($session->getAuthority() == 'shib13') {
-       /**
-        * TODO: Show warning to inform the user that he is logged on through 
an  
Shibboleth 1.3 IdP that
-        * do not support logout.
-        */
-}
-
-
-
-
  /*
   * Logout procedure is done and we send a Logout Response back to the SP
   */

--

You received this message because you are subscribed to the Google Groups 
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simplesamlphp-commits?hl=en.


Reply via email to