diff --git a/lib/SimpleSAML/Auth/Default.php b/lib/SimpleSAML/Auth/Default.php index e8a07e12c0a83e962a7740f9b88ce3c4f8a39cf5..c2e11c4d9789acc63786a0e9d04fb3d2cbdbff03 100644 --- a/lib/SimpleSAML/Auth/Default.php +++ b/lib/SimpleSAML/Auth/Default.php @@ -232,7 +232,7 @@ class SimpleSAML_Auth_Default { /** - * Handle a unsoliced login operations. + * Handle a unsolicited login operations. * * This function creates a session from the received information. It * will then redirect to the given URL. @@ -244,7 +244,7 @@ class SimpleSAML_Auth_Default { * @param string $redirectTo The URL we should redirect the user to after * updating the session. */ - public static function handleUnsolicedAuth($authId, array $state, $redirectTo) { + public static function handleUnsolicitedAuth($authId, array $state, $redirectTo) { assert('is_string($authId)'); assert('is_string($redirectTo)'); diff --git a/modules/saml/lib/Auth/Source/SP.php b/modules/saml/lib/Auth/Source/SP.php index fd2536f83be7ff18c85200a606804d7d113fd596..9f39475d63d6d4ed95110be8dd77be119af7479a 100644 --- a/modules/saml/lib/Auth/Source/SP.php +++ b/modules/saml/lib/Auth/Source/SP.php @@ -502,13 +502,13 @@ class sspmod_saml_Auth_Source_SP extends SimpleSAML_Auth_Source { $state['Attributes'] = $authProcState['Attributes']; - if (isset($state['saml:sp:isUnsoliced']) && (bool)$state['saml:sp:isUnsoliced']) { + if (isset($state['saml:sp:isUnsolicited']) && (bool)$state['saml:sp:isUnsolicited']) { if (!empty($state['saml:sp:RelayState'])) { $redirectTo = $state['saml:sp:RelayState']; } else { $redirectTo = $source->getMetadata()->getString('RelayState', '/'); } - SimpleSAML_Auth_Default::handleUnsolicedAuth($sourceId, $state, $redirectTo); + SimpleSAML_Auth_Default::handleUnsolicitedAuth($sourceId, $state, $redirectTo); } SimpleSAML_Auth_Source::completeAuth($state); diff --git a/modules/saml/www/sp/saml1-acs.php b/modules/saml/www/sp/saml1-acs.php index cc42502b89e70592e651e1497d5a4520c3275062..28ba7114382ac2881dc0f766246b4bd5a97df7ba 100644 --- a/modules/saml/www/sp/saml1-acs.php +++ b/modules/saml/www/sp/saml1-acs.php @@ -24,7 +24,7 @@ $target = (string)$_REQUEST['TARGET']; if (preg_match('@^https?://@i', $target)) { /* Unsolicited response. */ $state = array( - 'saml:sp:isUnsoliced' => TRUE, + 'saml:sp:isUnsolicited' => TRUE, 'saml:sp:AuthId' => $sourceId, 'saml:sp:RelayState' => $target, ); diff --git a/modules/saml/www/sp/saml2-acs.php b/modules/saml/www/sp/saml2-acs.php index b4abb30f44dc78312e30c57f4ee3531e78471169..dd112c3f0f6cd7fcfa4f7cbebb604d32440320a2 100644 --- a/modules/saml/www/sp/saml2-acs.php +++ b/modules/saml/www/sp/saml2-acs.php @@ -43,9 +43,9 @@ if (!empty($stateId)) { throw new SimpleSAML_Error_Exception('The authentication source id in the URL does not match the authentication source which sent the request.'); } } else { - /* This is an unsoliced response. */ + /* This is an unsolicited response. */ $state = array( - 'saml:sp:isUnsoliced' => TRUE, + 'saml:sp:isUnsolicited' => TRUE, 'saml:sp:AuthId' => $sourceId, 'saml:sp:RelayState' => $response->getRelayState(), );