X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=shibsp%2Fhandler%2FAbstractHandler.h;h=d797b27fb06602d8d4d7c3ea3e13a330603995cc;hb=41c829319fd0eb4a3d0a5b206c0683d58dfc8399;hp=fcc59272c2185e6cf9ac1d7450eb7c3f1fb667f0;hpb=f30f2eccedeba087846b23bee6bc9e214ee19e54;p=shibboleth%2Fcpp-sp.git diff --git a/shibsp/handler/AbstractHandler.h b/shibsp/handler/AbstractHandler.h index fcc5927..d797b27 100644 --- a/shibsp/handler/AbstractHandler.h +++ b/shibsp/handler/AbstractHandler.h @@ -44,15 +44,12 @@ namespace opensaml { #endif namespace xmltooling { - class XMLTOOL_API HTTPRequest; - class XMLTOOL_API HTTPResponse; class XMLTOOL_API XMLObject; }; namespace shibsp { class SHIBSP_API Application; - class SHIBSP_API SPRequest; #if defined (_MSC_VER) #pragma warning( push ) @@ -80,6 +77,8 @@ namespace shibsp { const std::map* remapper=NULL ); + void log(SPRequest::SPLogLevel level, const std::string& msg) const; + #ifndef SHIBSP_LITE /** * Examines a protocol response message for errors and raises an annotated exception @@ -134,42 +133,6 @@ namespace shibsp { #endif /** - * Implements various mechanisms to preserve RelayState, - * such as cookies or StorageService-backed keys. - * - *

If a supported mechanism can be identified, the input parameter will be - * replaced with a suitable state key. - * - * @param application the associated Application - * @param response outgoing HTTP response - * @param relayState RelayState token to supply with message - */ - virtual void preserveRelayState( - const Application& application, xmltooling::HTTPResponse& response, std::string& relayState - ) const; - - /** - * Implements various mechanisms to recover RelayState, - * such as cookies or StorageService-backed keys. - * - *

If a supported mechanism can be identified, the input parameter will be - * replaced with the recovered state information. - * - * @param application the associated Application - * @param request incoming HTTP request - * @param response outgoing HTTP response - * @param relayState RelayState token supplied with message - * @param clear true iff the token state should be cleared - */ - virtual void recoverRelayState( - const Application& application, - const xmltooling::HTTPRequest& request, - xmltooling::HTTPResponse& response, - std::string& relayState, - bool clear=true - ) const; - - /** * Implements a mechanism to preserve form post data. * * @param application the associated Application @@ -205,7 +168,7 @@ namespace shibsp { /** * Post a redirect response with post data. - * + * * @param application the associated Application * @param response outgoing HTTP response * @param request incoming HTTP request