Revision: 1829
Author: olavmrk
Date: Thu Oct  8 01:13:06 2009
Log: saml2/sp/initSSO: Fix use of isPassive and ForceAuthn from metadata.
http://code.google.com/p/simplesamlphp/source/detail?r=1829

Modified:
  /trunk/www/saml2/sp/initSSO.php

=======================================
--- /trunk/www/saml2/sp/initSSO.php     Tue Sep 22 03:11:38 2009
+++ /trunk/www/saml2/sp/initSSO.php     Thu Oct  8 01:13:06 2009
@@ -137,8 +137,12 @@
        $ar->setProtocolBinding(SAML2_Const::BINDING_HTTP_POST);
        $ar->setRelayState($_REQUEST['RelayState']);

-       $ar->setIsPassive($isPassive);
-       $ar->setForceAuthn($forceAuthn);
+       if ($isPassive) {
+               $ar->setIsPassive(TRUE);
+       }
+       if ($forceAuthn) {
+               $ar->setForceAuthn(TRUE);
+       }

        if(array_key_exists('IDPList', $spmetadata)) {
                $IDPList = array_unique(array_merge($IDPList, 
$spmetadata['IDPList']));

--~--~---------~--~----~------------~-------~--~----~
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