projects
/
shibboleth
/
cpp-opensaml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow message-only policy rules, basic SAML SOAP client.
[shibboleth/cpp-opensaml.git]
/
saml
/
saml2
/
binding
/
impl
/
SAML2SOAPDecoder.cpp
diff --git
a/saml/saml2/binding/impl/SAML2SOAPDecoder.cpp
b/saml/saml2/binding/impl/SAML2SOAPDecoder.cpp
index
8ff3738
..
092e7f4
100644
(file)
--- a/
saml/saml2/binding/impl/SAML2SOAPDecoder.cpp
+++ b/
saml/saml2/binding/impl/SAML2SOAPDecoder.cpp
@@
-91,8
+91,8
@@
XMLObject* SAML2SOAPDecoder::decode(
RequestAbstractType* request = dynamic_cast<RequestAbstractType*>(body->getXMLObjects().front());
if (request) {
// Run through the policy at two layers.
RequestAbstractType* request = dynamic_cast<RequestAbstractType*>(body->getXMLObjects().front());
if (request) {
// Run through the policy at two layers.
- policy.evaluate(
genericRequest, *env
);
- policy.evaluate(
genericRequest, *r
equest);
+ policy.evaluate(
*env, &genericRequest
);
+ policy.evaluate(
*request, &genericR
equest);
xmlObject.release();
body->detach(); // frees Envelope
request->detach(); // frees Body
xmlObject.release();
body->detach(); // frees Envelope
request->detach(); // frees Body