X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=saml%2Fsaml1%2Fprofile%2FAssertionValidator.h;h=39e77406f865a1d899c6926aa35c36fe4ac49415;hb=d8a4f024b89272eae00618fc39e6127b6c191edd;hp=aa26c7966e309189c09803e816e21d4cf4d6c590;hpb=9f10292e987cc822929bb83f9462e21874b9863a;p=shibboleth%2Fcpp-opensaml.git diff --git a/saml/saml1/profile/AssertionValidator.h b/saml/saml1/profile/AssertionValidator.h index aa26c79..39e7740 100644 --- a/saml/saml1/profile/AssertionValidator.h +++ b/saml/saml1/profile/AssertionValidator.h @@ -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,13 +17,16 @@ /** * @file saml/saml1/profile/AssertionValidator.h * - * SAML 1.x basic assertion validator + * SAML 1.x basic assertion validator. */ #ifndef __saml1_assval_h__ #define __saml1_assval_h__ #include + +#include +#include #include namespace opensaml { @@ -46,11 +49,9 @@ namespace opensaml { * @param audiences additional audience values * @param ts timestamp to evaluate assertion conditions, or 0 to bypass check */ - AssertionValidator(const XMLCh* recipient, const std::vector* audiences=NULL, time_t ts=0) - : m_recipient(recipient), m_audiences(audiences), m_ts(ts) { - } + AssertionValidator(const XMLCh* recipient, const std::vector* audiences=NULL, time_t ts=0); - virtual ~AssertionValidator() {} + virtual ~AssertionValidator(); void validate(const xmltooling::XMLObject* xmlObject) const;