SAML 2 Artifact decoder/test, with some API adjustments.
[shibboleth/cpp-opensaml.git] / saml / binding / MessageDecoder.h
index 0cfdbba..d0a29a0 100644 (file)
@@ -36,6 +36,7 @@ namespace opensaml {
     };\r
     namespace saml2p {\r
         class SAML_API SAML2Artifact;\r
+        class SAML_API ArtifactResponse;\r
     };\r
     namespace saml2md {\r
         class SAML_API MetadataProvider;\r
@@ -164,7 +165,7 @@ namespace opensaml {
 \r
             /**\r
              * Resolves a SAML 2.0 artifact into the corresponding SAML protocol message.\r
-             * The caller is responsible for the resulting XMLObject.\r
+             * The caller is responsible for the resulting ArtifactResponse message.\r
              * \r
              * @param authenticated     output flag set to true iff the resolution channel was authenticated\r
              * @param artifact          reference to a SAML 2.0 artifact\r
@@ -172,7 +173,7 @@ namespace opensaml {
              * @param trustEngine       optional pointer to X509TrustEngine supplied to MessageDecoder\r
              * @return the corresponding SAML protocol message or NULL\r
              */\r
-            virtual xmltooling::XMLObject* resolve(\r
+            virtual saml2p::ArtifactResponse* resolve(\r
                 bool& authenticated,\r
                 const saml2p::SAML2Artifact& artifact,\r
                 const saml2md::SSODescriptorType& ssoDescriptor,\r