X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fsaml2%2Fbinding%2Fimpl%2FSAML2ArtifactDecoder.cpp;h=c3091620b0a1f3b11afc7c5388f4bfdc8a025f37;hp=48fccebb8106f926c874b50ec6304843df0ff207;hb=750aa26530f9e8993eae37cd9e68e25497be66b5;hpb=571218290715e97099bcd65249abbee4e1ef63bf diff --git a/saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp b/saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp index 48fcceb..c309162 100644 --- a/saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp +++ b/saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp @@ -138,11 +138,11 @@ XMLObject* SAML2ArtifactDecoder::decode( m_artifactResolver->resolve(*(artifact2.get()), dynamic_cast(*roledesc), policy) ); - policy.evaluate(genericRequest, *(response.get())); + policy.evaluate(*(response.get()), &genericRequest); // Extract payload and check that message. XMLObject* payload = response->getPayload(); - policy.evaluate(genericRequest, *payload); + policy.evaluate(*payload, &genericRequest); // Return the payload only. response.release();