projects
/
shibboleth
/
cpp-opensaml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Shift policy responsibility to ArtifactResolver, make msg rules more forgiving.
[shibboleth/cpp-opensaml.git]
/
saml
/
saml1
/
binding
/
impl
/
SAML1ArtifactDecoder.cpp
diff --git
a/saml/saml1/binding/impl/SAML1ArtifactDecoder.cpp
b/saml/saml1/binding/impl/SAML1ArtifactDecoder.cpp
index
23a9505
..
5435224
100644
(file)
--- 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<const IDPSSODescriptor&>(*roledesc), policy)
);
m_artifactResolver->resolve(artifacts, dynamic_cast<const IDPSSODescriptor&>(*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<SAMLArtifact>());
return response.release();
for_each(artifacts.begin(), artifacts.end(), xmltooling::cleanup<SAMLArtifact>());
return response.release();