From 89a5d9542b85b721b574bf7f924377c261c93866 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Thu, 5 Nov 2009 06:34:11 +0000 Subject: [PATCH] saml: Set the IdP field in the session to the current IdP after authentication. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1956 44740490-163a-0410-bde0-09ae8108e29a --- modules/saml/lib/Auth/Source/SP.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/saml/lib/Auth/Source/SP.php b/modules/saml/lib/Auth/Source/SP.php index ca13358e4..fe73e889e 100644 --- a/modules/saml/lib/Auth/Source/SP.php +++ b/modules/saml/lib/Auth/Source/SP.php @@ -399,6 +399,7 @@ class sspmod_saml_Auth_Source_SP extends SimpleSAML_Auth_Source { $source->addLogoutCallback($idp, $state); $state['Attributes'] = $authProcState['Attributes']; + $state['IdP'] = $idp; if (isset($state['saml:sp:isUnsoliced']) && (bool)$state['saml:sp:isUnsoliced']) { if (isset($state['saml:sp:RelayState'])) { -- GitLab