if (!m_validate)
SchemaValidators.validate(xmlObject.get());
+
+ // Run through the policy.
+ policy.evaluate(*response, &genericRequest);
// Check recipient URL.
auto_ptr_char recipient(response->getRecipient());
throw BindingException("SAML message delivered with POST to incorrect server URL.");
}
- // Run through the policy.
- policy.evaluate(*response, &genericRequest);
-
return xmlObject.release();
}