X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=saml%2Fsaml1%2Fbinding%2Fimpl%2FSAML1ArtifactDecoder.cpp;h=54352249432e9318017dec54542150efe741b26c;hb=01d4a70f0b95b2bac5a0d66e6fe87f4640433b90;hp=23a95050ac532ead2af90adb31032dcdd9db7734;hpb=6b5c75d27994ca1f9d450a81576a1bde4873edf3;p=shibboleth%2Fcpp-opensaml.git diff --git a/saml/saml1/binding/impl/SAML1ArtifactDecoder.cpp b/saml/saml1/binding/impl/SAML1ArtifactDecoder.cpp index 23a9505..5435224 100644 --- a/saml/saml1/binding/impl/SAML1ArtifactDecoder.cpp +++ b/saml/saml1/binding/impl/SAML1ArtifactDecoder.cpp @@ -146,7 +146,7 @@ XMLObject* SAML1ArtifactDecoder::decode( m_artifactResolver->resolve(artifacts, dynamic_cast(*roledesc), policy) ); - policy.evaluate(*(response.get()), &genericRequest); + // The policy should be enforced against the Response by the resolve step. for_each(artifacts.begin(), artifacts.end(), xmltooling::cleanup()); return response.release();