git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/trunk@360
fb386ef7-a10c-0410-8ebf-
fd3f8e989ab0
// Now extract details from the payload and check that message.
XMLObject* payload = response->getPayload();
// Now extract details from the payload and check that message.
XMLObject* payload = response->getPayload();
+ if (!payload)
+ throw BindingException("ArtifactResponse message did not contain a protocol message.");
extractMessageDetails(*payload, genericRequest, samlconstants::SAML20P_NS, policy);
policy.evaluate(*payload, &genericRequest);
extractMessageDetails(*payload, genericRequest, samlconstants::SAML20P_NS, policy);
policy.evaluate(*payload, &genericRequest);