X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fsaml2%2Fbinding%2Fimpl%2FSAML2SOAPClient.cpp;h=08cba6d3c495308970e94a33c795ab5480075271;hp=af558911f62801b72b0a7039817b48d720687c79;hb=9d61992f725e8b73421e9262a711f4cbdd782b18;hpb=53f30080aa11d6874d6e2c5c533b2fbd4be1fd17 diff --git a/saml/saml2/binding/impl/SAML2SOAPClient.cpp b/saml/saml2/binding/impl/SAML2SOAPClient.cpp index af55891..08cba6d 100644 --- a/saml/saml2/binding/impl/SAML2SOAPClient.cpp +++ b/saml/saml2/binding/impl/SAML2SOAPClient.cpp @@ -61,7 +61,8 @@ StatusResponseType* SAML2SOAPClient::receiveSAML() if (m_correlate && response->getInResponseTo() && !XMLString::equals(m_correlate, response->getInResponseTo())) throw SecurityPolicyException("InResponseTo attribute did not correlate with the Request ID."); - m_soaper.getPolicy().evaluate(*response); + m_soaper.getPolicy().reset(true); + m_soaper.getPolicy().evaluate(*response, NULL, samlconstants::SAML20P_NS); if (!m_soaper.getPolicy().isSecure()) { SecurityPolicyException ex("Security policy could not authenticate the message."); annotateException(&ex, m_soaper.getPolicy().getIssuerMetadata(), response->getStatus()); // throws it