SAML2POSTDecoder::SAML2POSTDecoder(const DOMElement* e) {}
-SAML2POSTDecoder::~SAML2POSTDecoder() {}
-
-saml2::RootObject* SAML2POSTDecoder::decode(
+XMLObject* SAML2POSTDecoder::decode(
std::string& relayState,
const GenericRequest& genericRequest,
SecurityPolicy& policy
}
// Run through the policy.
- policy.evaluate(genericRequest, *root);
+ policy.evaluate(*root, &genericRequest);
}
catch (XMLToolingException& ex) {
// This is just to maximize the likelihood of attaching a source to the message for support purposes.
annotateException(&ex,provider); // throws it
}
- xmlObject.release();
- return root;
+ return xmlObject.release();
}