Revision: 1984 Author: olavmrk Date: Thu Nov 12 06:43:15 2009 Log: saml: Support AuthnContextClassRef again.
Fixes issue 234. http://code.google.com/p/simplesamlphp/source/detail?r=1984 Modified: /trunk/modules/saml2/lib/Message.php ======================================= --- /trunk/modules/saml2/lib/Message.php Wed Nov 4 05:53:09 2009 +++ /trunk/modules/saml2/lib/Message.php Thu Nov 12 06:43:15 2009 @@ -388,6 +388,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 -~----------~----~----~----~------~----~------~--~---
