Skip to content
Snippets Groups Projects
Commit 79b8fc58 authored by Olav Morken's avatar Olav Morken
Browse files

saml: Support AuthnContextClassRef again.

Fixes issue 234.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1984 44740490-163a-0410-bde0-09ae8108e29a
parent d7854824
No related branches found
No related tags found
No related merge requests found
......@@ -388,6 +388,11 @@ class sspmod_saml2_Message {
$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;
......
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