Revision: 3005
Author:   olavmrk
Date:     Thu Dec 22 23:00:45 2011
Log:      Fix misspelling "unsoliced" => "unsolicited".

Thanks to Thijs Kinkhorst for fixing this!
http://code.google.com/p/simplesamlphp/source/detail?r=3005

Modified:
 /trunk/lib/SimpleSAML/Auth/Default.php
 /trunk/modules/saml/lib/Auth/Source/SP.php
 /trunk/modules/saml/www/sp/saml1-acs.php
 /trunk/modules/saml/www/sp/saml2-acs.php

=======================================
--- /trunk/lib/SimpleSAML/Auth/Default.php      Tue May 24 01:04:22 2011
+++ /trunk/lib/SimpleSAML/Auth/Default.php      Thu Dec 22 23:00:45 2011
@@ -232,7 +232,7 @@


        /**
-        * 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 @@
         * @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)');

=======================================
--- /trunk/modules/saml/lib/Auth/Source/SP.php  Tue Jul  5 06:24:26 2011
+++ /trunk/modules/saml/lib/Auth/Source/SP.php  Thu Dec 22 23:00:45 2011
@@ -502,13 +502,13 @@

                $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);
=======================================
--- /trunk/modules/saml/www/sp/saml1-acs.php    Mon Oct  4 06:37:02 2010
+++ /trunk/modules/saml/www/sp/saml1-acs.php    Thu Dec 22 23:00:45 2011
@@ -24,7 +24,7 @@
 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,
        );
=======================================
--- /trunk/modules/saml/www/sp/saml2-acs.php    Tue Jul 19 22:55:05 2011
+++ /trunk/modules/saml/www/sp/saml2-acs.php    Thu Dec 22 23:00:45 2011
@@ -43,9 +43,9 @@
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(),
        );

--
You received this message because you are subscribed to the Google Groups 
"simpleSAMLphp commits" group.
To post to this group, send email to simplesamlphp-commits@googlegroups.com.
To unsubscribe from this group, send email to 
simplesamlphp-commits+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/simplesamlphp-commits?hl=en.

Reply via email to