Collapse unneeded header files.
[shibboleth/cpp-opensaml.git] / saml / saml2 / binding / impl / SAML2RedirectDecoder.cpp
index 63a324a..cbaa37c 100644 (file)
@@ -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,