projects
/
shibboleth
/
cpp-opensaml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Multi-line svn commit, see body.
[shibboleth/cpp-opensaml.git]
/
saml
/
saml2
/
binding
/
impl
/
SAML2ArtifactDecoder.cpp
diff --git
a/saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp
b/saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp
index
553d8a5
..
ae7545a
100644
(file)
--- a/
saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp
+++ b/
saml/saml2/binding/impl/SAML2ArtifactDecoder.cpp
@@
-152,11
+152,13
@@
XMLObject* SAML2ArtifactDecoder::decode(
m_artifactResolver->resolve(*(artifact2.get()), dynamic_cast<const SSODescriptorType&>(*roledesc), policy)
);
m_artifactResolver->resolve(*(artifact2.get()), dynamic_cast<const SSODescriptorType&>(*roledesc), policy)
);
- // The policy should be enforced against the ArtifactResponse by the resolve step.
+ // The policy should be enforced against the ArtifactResponse by the resolve step.
+ // Reset only the message state.
+ policy.reset(true);
// Extract payload and check that message.
XMLObject* payload = response->getPayload();
// Extract payload and check that message.
XMLObject* payload = response->getPayload();
- policy.evaluate(*payload, &genericRequest);
+ policy.evaluate(*payload, &genericRequest
, samlconstants::SAML20P_NS
);
// Return the payload only.
response.release();
// Return the payload only.
response.release();