Revision: 2176 Author: olavmrk Date: Fri Feb 12 00:53:11 2010 Log: IdP: Add more info to requestcache, for backwards-compatibility
Fixes issue 279. http://code.google.com/p/simplesamlphp/source/detail?r=2176 Modified: /trunk/lib/SimpleSAML/IdP.php ======================================= --- /trunk/lib/SimpleSAML/IdP.php Wed Feb 10 03:32:00 2010 +++ /trunk/lib/SimpleSAML/IdP.php Fri Feb 12 00:53:11 2010 @@ -294,6 +294,19 @@ 'State' => $state, ); + if (isset($state['saml:RequestId'])) { + $authnRequest['RequestID'] = $state['saml:RequestId']; + } + if (isset($state['SPMetadata']['entityid'])) { + $authnRequest['Issuer'] = $state['SPMetadata']['entityid']; + } + if (isset($state['saml:RelayState'])) { + $authnRequest['RelayState'] = $state['saml:RelayState']; + } + if (isset($state['saml:IDPList'])) { + $authnRequest['IDPList'] = $state['saml:IDPList']; + } + $authId = SimpleSAML_Utilities::generateID(); $session = SimpleSAML_Session::getInstance(); $session->setAuthnRequest('saml2', $authId, $authnRequest); -- 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.
