Revision: 2030 Author: olavmrk Date: Fri Dec 4 03:15:40 2009 Log: Auth_Default: Make it possible to set the current IdP from authentication sources.
Merged into 1.5 branch from r1955. http://code.google.com/p/simplesamlphp/source/detail?r=2030 Modified: /branches/simplesamlphp-1.5/lib/SimpleSAML/Auth/Default.php ======================================= --- /branches/simplesamlphp-1.5/lib/SimpleSAML/Auth/Default.php Thu Sep 24 04:54:17 2009 +++ /branches/simplesamlphp-1.5/lib/SimpleSAML/Auth/Default.php Fri Dec 4 03:15:40 2009 @@ -99,6 +99,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); + } /* Redirect... */ SimpleSAML_Utilities::redirect($returnURL); -- 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.
