Merged trust engines back into a unified version, made metadata roles a "KeyInfoSource".
[shibboleth/cpp-opensaml.git] / saml / binding / MessageFlowRule.h
index 97c9797..9e261c5 100644 (file)
@@ -41,9 +41,27 @@ namespace opensaml {
             const xmltooling::XMLObject& message,
             const saml2md::MetadataProvider* metadataProvider,
             const xmltooling::QName* role,
-            const TrustEngine* trustEngine
+            const xmltooling::TrustEngine* trustEngine
             ) const;
+
+        /**
+         * Controls whether rule executes replay checking.
+         * 
+         * @param checkReplay  replay checking value to set
+         */
+        void setCheckReplay(bool checkReplay) {
+            m_checkReplay = checkReplay;
+        }
     
+        /**
+         * Controls maximum elapsed time between message issue and rule execution.
+         * 
+         * @param expires  maximum elapsed time in seconds
+         */
+        void setExpires(time_t expires) {
+            m_expires = expires;
+        }
+
     protected:
         /**
          * Performs the check.