X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fopensaml2.git;a=blobdiff_plain;f=saml%2Fsaml2%2Fbinding%2Fimpl%2FSAML2SOAPDecoder.cpp;h=8879499d89c0367b60b939a0d971c19bda7f897b;hp=a0111e5fd199a38e6241a98e08bc2c03eb5ba30e;hb=a0323c50525a6ff43795da2dc786e5aeaf726d41;hpb=ff915c49a0da802d0f206ffcaa073d020572a17e diff --git a/saml/saml2/binding/impl/SAML2SOAPDecoder.cpp b/saml/saml2/binding/impl/SAML2SOAPDecoder.cpp index a0111e5..8879499 100644 --- a/saml/saml2/binding/impl/SAML2SOAPDecoder.cpp +++ b/saml/saml2/binding/impl/SAML2SOAPDecoder.cpp @@ -105,8 +105,9 @@ XMLObject* SAML2SOAPDecoder::decode( RequestAbstractType* request = dynamic_cast(body->getUnknownXMLObjects().front()); if (request) { // Run through the policy at two layers. - policy.evaluate(*env, &genericRequest); - policy.evaluate(*request, &genericRequest); + policy.evaluate(*env, &genericRequest, samlconstants::SAML20P_NS); + policy.reset(true); + policy.evaluate(*request, &genericRequest, samlconstants::SAML20P_NS); xmlObject.release(); body->detach(); // frees Envelope request->detach(); // frees Body