X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=shibsp%2Fhandler%2Fimpl%2FAssertionConsumerService.cpp;h=75b38e8e2922b46eb0fb0b51f4f308177908a0cf;hb=d0d35cedf14334057f56b2c2293c4cdabe2fefa5;hp=c5e9080bd5f92de6fb92b9e35aa8c4baf3e4a63b;hpb=35a812b022aa474e965d1102b14b2007508f0412;p=shibboleth%2Fsp.git diff --git a/shibsp/handler/impl/AssertionConsumerService.cpp b/shibsp/handler/impl/AssertionConsumerService.cpp index c5e9080..75b38e8 100644 --- a/shibsp/handler/impl/AssertionConsumerService.cpp +++ b/shibsp/handler/impl/AssertionConsumerService.cpp @@ -87,7 +87,7 @@ pair AssertionConsumerService::run(SPRequest& request, bool isHandler if (ex.getProperty("RelayState")) relayState = ex.getProperty("RelayState"); try { - recoverRelayState(request, relayState); + recoverRelayState(request.getApplication(), request, relayState); } catch (exception& ex2) { m_log.error("trapped an error during RelayState recovery while handling an error: %s", ex2.what()); @@ -98,7 +98,7 @@ pair AssertionConsumerService::run(SPRequest& request, bool isHandler // We invoke RelayState recovery one last time on this side of the boundary. if (out["RelayState"].isstring()) relayState = out["RelayState"].string(); - recoverRelayState(request, relayState); + recoverRelayState(request.getApplication(), request, relayState); // If it worked, we have a session key. if (!out["key"].isstring()) @@ -182,7 +182,7 @@ string AssertionConsumerService::processMessage( auto_ptr msg(m_decoder->decode(relayState, httpRequest, policy)); if (!msg.get()) throw BindingException("Failed to decode an SSO protocol response."); - recoverRelayState(httpRequest, relayState); + recoverRelayState(application, httpRequest, relayState); string key = implementProtocol(application, httpRequest, policy, settings, *msg.get()); auto_ptr_char issuer(policy.getIssuer() ? policy.getIssuer()->getName() : NULL);