X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=shibsp%2Fhandler%2Fimpl%2FWAYFSessionInitiator.cpp;h=b04f0187e267da729744dad3270bbc193daf69c1;hb=c51bfd77603cf0ddb0b5e374c35586a8435895d6;hp=879e54e7086981187efd15520792009840056803;hpb=d64891004e50ae1fd41eb0ca94fe0eb6acde15d8;p=shibboleth%2Fcpp-sp.git diff --git a/shibsp/handler/impl/WAYFSessionInitiator.cpp b/shibsp/handler/impl/WAYFSessionInitiator.cpp index 879e54e..b04f018 100644 --- a/shibsp/handler/impl/WAYFSessionInitiator.cpp +++ b/shibsp/handler/impl/WAYFSessionInitiator.cpp @@ -59,7 +59,7 @@ namespace shibsp { { public: WAYFSessionInitiator(const DOMElement* e, const char* appId) - : AbstractHandler(e, Category::getInstance(SHIBSP_LOGCAT".SessionInitiator.WAYF"), nullptr, &m_remapper), m_url(nullptr) { + : AbstractHandler(e, Category::getInstance(SHIBSP_LOGCAT ".SessionInitiator.WAYF"), nullptr, &m_remapper), m_url(nullptr) { pair url = getString("URL"); if (!url.first) throw ConfigurationException("WAYF SessionInitiator requires a URL property."); @@ -116,7 +116,7 @@ pair WAYFSessionInitiator::run(SPRequest& request, string& entityID, // Since we're passing the ACS by value, we need to compute the return URL, // so we'll need the target resource for real. recoverRelayState(request.getApplication(), request, request, target, false); - limitRelayState(m_log, request.getApplication(), request, target.c_str()); + request.getApplication().limitRedirect(request, target.c_str()); prop.second = request.getParameter("discoveryURL"); if (prop.second && *prop.second)