X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=saml%2Fsaml2%2Fbinding%2Fimpl%2FSAML2RedirectDecoder.cpp;h=cbaa37c18721d7b1759db5a627537b94fd5e1ab2;hb=0e738d39ba71958fe55692498c91fc6e6d402604;hp=63a324a9079d7f508f93ea131e96d02f4fb6d4eb;hpb=0beb48ce00d0b6a3f177f7d9b48af1870ee92190;p=shibboleth%2Fcpp-opensaml.git diff --git a/saml/saml2/binding/impl/SAML2RedirectDecoder.cpp b/saml/saml2/binding/impl/SAML2RedirectDecoder.cpp index 63a324a..cbaa37c 100644 --- a/saml/saml2/binding/impl/SAML2RedirectDecoder.cpp +++ b/saml/saml2/binding/impl/SAML2RedirectDecoder.cpp @@ -23,8 +23,8 @@ #include "internal.h" #include "exceptions.h" #include "binding/HTTPRequest.h" +#include "binding/MessageDecoder.h" #include "saml2/binding/SAML2Redirect.h" -#include "saml2/binding/SAML2RedirectDecoder.h" #include "saml2/core/Protocols.h" #include "saml2/metadata/Metadata.h" #include "saml2/metadata/MetadataProvider.h" @@ -45,6 +45,19 @@ using namespace std; namespace opensaml { namespace saml2p { + class SAML_DLLLOCAL SAML2RedirectDecoder : public MessageDecoder + { + public: + SAML2RedirectDecoder(const DOMElement* e) {} + virtual ~SAML2RedirectDecoder() {} + + xmltooling::XMLObject* decode( + std::string& relayState, + const GenericRequest& genericRequest, + SecurityPolicy& policy + ) const; + }; + MessageDecoder* SAML_DLLLOCAL SAML2RedirectDecoderFactory(const DOMElement* const & e) { return new SAML2RedirectDecoder(e); @@ -52,8 +65,6 @@ namespace opensaml { }; }; -SAML2RedirectDecoder::SAML2RedirectDecoder(const DOMElement* e) {} - XMLObject* SAML2RedirectDecoder::decode( string& relayState, const GenericRequest& genericRequest,