X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=shibsp%2Fhandler%2FAbstractHandler.h;h=00cbf57f0f0598a1d26833ef266bc1048ebdeff2;hb=d0d35cedf14334057f56b2c2293c4cdabe2fefa5;hp=b9de1423845fbc3aff7d2e40622a21464fdbf1f0;hpb=35a812b022aa474e965d1102b14b2007508f0412;p=shibboleth%2Fsp.git diff --git a/shibsp/handler/AbstractHandler.h b/shibsp/handler/AbstractHandler.h index b9de142..00cbf57 100644 --- a/shibsp/handler/AbstractHandler.h +++ b/shibsp/handler/AbstractHandler.h @@ -28,10 +28,12 @@ #include #include +#include #include namespace shibsp { + class SHIBSP_API Application; class SHIBSP_API SPRequest; #if defined (_MSC_VER) @@ -76,10 +78,11 @@ namespace shibsp { *

If a supported mechanism can be identified, the input parameter will be * replaced with a suitable state key. * - * @param request the active SPRequest + * @param application the associated Application + * @param response outgoing HTTP response * @param relayState RelayState token to supply with message */ - virtual void preserveRelayState(SPRequest& request, std::string& relayState) const; + virtual void preserveRelayState(const Application& application, opensaml::HTTPResponse& response, std::string& relayState) const; /** * Implements various mechanisms to recover RelayState, @@ -88,11 +91,14 @@ namespace shibsp { *

If a supported mechanism can be identified, the input parameter will be * replaced with the recovered state information. * - * @param httpRequest incoming HTTP request + * @param application the associated Application + * @param request incoming HTTP request * @param relayState RelayState token supplied with message * @param clear true iff the token state should be cleared */ - virtual void recoverRelayState(opensaml::HTTPRequest& httpRequest, std::string& relayState, bool clear=true) const; + virtual void recoverRelayState( + const Application& application, opensaml::HTTPRequest& request, std::string& relayState, bool clear=true + ) const; /** Logging object. */ log4cpp::Category& m_log;