Reducing header overuse, non-inlining selected methods (CPPOST-35).
[shibboleth/cpp-opensaml.git] / saml / saml2 / profile / impl / Assertion20Validator.cpp
index b5c857f..b118d4b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2007 Internet2
+ *  Copyright 2001-2009 Internet2
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@
 /**
  * Assertion20Validator.cpp
  * 
- * SAML 2.0 basic assertion validator
+ * SAML 2.0 basic assertion validator.
  */
 
 #include "internal.h"
@@ -33,6 +33,15 @@ using namespace xmltooling::logging;
 using namespace xmltooling;
 using namespace std;
 
+AssertionValidator::AssertionValidator(const XMLCh* recipient, const vector<const XMLCh*>* audiences, time_t ts)
+    : m_recipient(recipient), m_audiences(audiences), m_ts(ts)
+{
+}
+
+AssertionValidator::~AssertionValidator()
+{
+}
+
 void AssertionValidator::validate(const xmltooling::XMLObject* xmlObject) const
 {
     const Assertion* a=dynamic_cast<const Assertion*>(xmlObject);