X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fbinding%2FSecurityPolicyRule.h;fp=saml%2Fbinding%2FSecurityPolicyRule.h;h=9a324bb3a0cac20ae3176b2be3f54e7fd5723520;hp=68760f7e72ccf592f3797871c8b472ce3451fd50;hb=6b5c75d27994ca1f9d450a81576a1bde4873edf3;hpb=632fdee22ac4b756eaa3158217b9acd6c831e7be diff --git a/saml/binding/SecurityPolicyRule.h b/saml/binding/SecurityPolicyRule.h index 68760f7..9a324bb 100644 --- a/saml/binding/SecurityPolicyRule.h +++ b/saml/binding/SecurityPolicyRule.h @@ -45,18 +45,13 @@ namespace opensaml { /** * Evaluates the rule against the given request and message. * - *

Exceptions should be reserved for fatal request processing errors; - * otherwise rules should return false to indicate they were not applicable - * or unsuccessful. - * * @param message the incoming message * @param request the protocol request * @param policy SecurityPolicy to provide various components and track message data - * @return true iff the rule ran successfully, false otherwise - * - * @throws BindingException thrown if the request/message is invalid in some way + * + * @throws BindingException raised if the message/request is not acceptable to the policy rule */ - virtual bool evaluate( + virtual void evaluate( const xmltooling::XMLObject& message, const GenericRequest* request, SecurityPolicy& policy ) const=0; };