Revision: 1990
Author: olavmrk
Date: Fri Nov 13 01:17:15 2009
Log: saml: Support AuthnContextClassRef again.

Merged into 1.5 branch from r1984.
http://code.google.com/p/simplesamlphp/source/detail?r=1990

Modified:
  /branches/simplesamlphp-1.5/modules/saml2/lib/Message.php

=======================================
--- /branches/simplesamlphp-1.5/modules/saml2/lib/Message.php   Mon Oct  5  
03:53:43 2009
+++ /branches/simplesamlphp-1.5/modules/saml2/lib/Message.php   Fri Nov 13  
01:17:15 2009
@@ -385,6 +385,11 @@
                $ar->setForceAuthn($spMetadata->getBoolean('ForceAuthn', 
FALSE));
                $ar->setIsPassive($spMetadata->getBoolean('IsPassive', FALSE));

+               if ($spMetadata->hasValue('AuthnContextClassRef')) {
+                       $accr = 
$spMetadata->getArrayizeString('AuthnContextClassRef');
+                       
$ar->setRequestedAuthnContext(array('AuthnContextClassRef' => $accr));
+               }
+
                self::addRedirectSign($spMetadata, $idpMetadata, $ar);

                return $ar;

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