Revamped binding classes with security policy layer.
[shibboleth/cpp-opensaml.git] / saml / saml2 / binding / SAML2POSTDecoder.h
index 31c2f6a..00edb7a 100644 (file)
  */
 
 #include <saml/binding/MessageDecoder.h>
+#include <saml/saml2/core/Assertions.h>
 
 namespace opensaml {
+    
     namespace saml2p {
 
         /**
@@ -34,14 +36,10 @@ namespace opensaml {
             SAML2POSTDecoder(const DOMElement* e);
             virtual ~SAML2POSTDecoder();
             
-            xmltooling::XMLObject* decode(
+            saml2::RootObject* decode(
                 std::string& relayState,
-                const saml2md::RoleDescriptor*& issuer,
-                const XMLCh*& securityMech,
-                const HTTPRequest& httpRequest,
-                const saml2md::MetadataProvider* metadataProvider=NULL,
-                const xmltooling::QName* role=NULL,
-                const TrustEngine* trustEngine=NULL
+                const GenericRequest& genericRequest,
+                SecurityPolicy& policy
                 ) const;
         };