Revision: 2250
Author: olavmrk
Date: Fri Apr 16 00:05:31 2010
Log: Auth/Default: Set $session->idp on unsolicited authentication.
http://code.google.com/p/simplesamlphp/source/detail?r=2250
Modified:
/trunk/lib/SimpleSAML/Auth/Default.php
=======================================
--- /trunk/lib/SimpleSAML/Auth/Default.php Wed Dec 16 06:12:01 2009
+++ /trunk/lib/SimpleSAML/Auth/Default.php Fri Apr 16 00:05:31 2010
@@ -232,6 +232,12 @@
if (array_key_exists('LogoutState', $state)) {
$session->setLogoutState($state['LogoutState']);
}
+
+ if (array_key_exists('IdP', $state)) {
+ $session->setIdP($state['IdP']);
+ } else {
+ $session->setIdP(NULL);
+ }
SimpleSAML_Utilities::redirect($redirectTo);
}
--
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.