From 8a15729d64e85d2a2e4eb000835df071703fc381 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Fri, 28 May 2010 06:34:30 +0000 Subject: [PATCH] Fix spelling error of ForceAuthn. Thanks to Patrick Honing for providing this patch. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2327 44740490-163a-0410-bde0-09ae8108e29a --- modules/saml/docs/sp.txt | 2 +- modules/saml/lib/Auth/Source/SP.php | 2 +- modules/saml/lib/IdP/SAML2.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/saml/docs/sp.txt b/modules/saml/docs/sp.txt index 0ae5b8db2..d710245fc 100644 --- a/modules/saml/docs/sp.txt +++ b/modules/saml/docs/sp.txt @@ -22,7 +22,7 @@ All these parameters override the equivalent option from the configuration. : *Note*: SAML 2 specific. -`ForceAuthnn` +`ForceAuthn` : Force authentication allows you to force re-authentication of users even if the user has a SSO session at the IdP. : *Note*: SAML 2 specific. diff --git a/modules/saml/lib/Auth/Source/SP.php b/modules/saml/lib/Auth/Source/SP.php index f869414ea..8d209cff2 100644 --- a/modules/saml/lib/Auth/Source/SP.php +++ b/modules/saml/lib/Auth/Source/SP.php @@ -193,7 +193,7 @@ class sspmod_saml_Auth_Source_SP extends SimpleSAML_Auth_Source { $ar->setRequestedAuthnContext(array('AuthnContextClassRef' => $accr)); } - if (isset($state['ForceAuthnn'])) { + if (isset($state['ForceAuthn'])) { $ar->setForceAuthn((bool)$state['ForceAuthn']); } diff --git a/modules/saml/lib/IdP/SAML2.php b/modules/saml/lib/IdP/SAML2.php index e1bafa37e..e5951696c 100644 --- a/modules/saml/lib/IdP/SAML2.php +++ b/modules/saml/lib/IdP/SAML2.php @@ -321,7 +321,7 @@ class sspmod_saml_IdP_SAML2 { 'saml:IDPList' => $IDPList, 'saml:ProxyCount' => $ProxyCount, 'saml:RequesterID' => $RequesterID, - 'ForceAuthnn' => $forceAuthn, + 'ForceAuthn' => $forceAuthn, 'isPassive' => $isPassive, 'saml:ConsumerURL' => $consumerURL, 'saml:Binding' => $protocolBinding, -- GitLab