SAML 2 SSO validator.
[shibboleth/cpp-opensaml.git] / saml / saml1 / profile / AssertionValidator.h
index 68c29c4..72477ad 100644 (file)
@@ -44,7 +44,8 @@ namespace opensaml {
              * @param audiences set of audience values representing recipient
              * @param ts        timestamp to evaluate assertion conditions, or 0 to bypass check
              */
-            AssertionValidator(const std::vector<const XMLCh*>& audiences, time_t ts=0) : m_ts(ts), m_audiences(audiences) {}
+            AssertionValidator(const std::vector<const XMLCh*>& audiences, time_t ts=0) : m_audiences(audiences), m_ts(ts) {}
+
             virtual ~AssertionValidator() {}
     
             void validate(const xmltooling::XMLObject* xmlObject) const;
@@ -66,9 +67,12 @@ namespace opensaml {
              */
             virtual bool validateCondition(const Condition* condition) const;
 
-        private:
-            time_t m_ts;
+        protected:
+            /** Set of audience values representing recipient. */
             const std::vector<const XMLCh*>& m_audiences;
+
+            /** Timestamp to evaluate assertion conditions. */
+            time_t m_ts;
         };
         
     };