Revert to exception-based policy errors, add "secure" flag to policy to track authn.
[shibboleth/cpp-opensaml.git] / saml / saml2 / binding / SAML2MessageRule.h
index 1d5a6ba..1c20e2f 100644 (file)
@@ -20,6 +20,9 @@
  * SAML 2.0 message extraction rule
  */
 
+#ifndef __saml_2msgrule_h__
+#define __saml_2msgrule_h__
+
 #include <saml/binding/SecurityPolicyRule.h>
 
 
@@ -34,7 +37,9 @@ namespace opensaml {
             SAML2MessageRule(const DOMElement* e) {}
             virtual ~SAML2MessageRule() {}
             
-            bool evaluate(const xmltooling::XMLObject& message, const GenericRequest* request, SecurityPolicy& policy) const;
+            void evaluate(const xmltooling::XMLObject& message, const GenericRequest* request, SecurityPolicy& policy) const;
         };
     };
 };
+
+#endif /* __saml_2msgrule_h__ */