Revert to exception-based policy errors, add "secure" flag to policy to track authn.
[shibboleth/cpp-opensaml.git] / saml / binding / SecurityPolicyRule.h
index f15d263..9a324bb 100644 (file)
@@ -43,14 +43,13 @@ namespace opensaml {
         virtual ~SecurityPolicyRule() {}
 
         /**
-         * Evaluates the rule against the given request and message. If an Issuer is
-         * returned, the caller is responsible for freeing the Issuer object.
+         * Evaluates the rule against the given request and message.
          * 
          * @param message   the incoming message
          * @param request   the protocol request
          * @param policy    SecurityPolicy to provide various components and track message data
-         * 
-         * @throws BindingException thrown if the request/message do not meet the requirements of this rule
+         *
+         * @throws BindingException raised if the message/request is not acceptable to the policy rule
          */
         virtual void evaluate(
             const xmltooling::XMLObject& message, const GenericRequest* request, SecurityPolicy& policy