X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fsaml2%2Fprofile%2FAssertionValidator.h;h=322df68cbeb4a78736fdcaa9f3be2be42a8d97dd;hp=8a05e29dfb6577b8b61df8d55d5842b5bc25ae15;hb=d8a4f024b89272eae00618fc39e6127b6c191edd;hpb=9f10292e987cc822929bb83f9462e21874b9863a diff --git a/saml/saml2/profile/AssertionValidator.h b/saml/saml2/profile/AssertionValidator.h index 8a05e29..322df68 100644 --- a/saml/saml2/profile/AssertionValidator.h +++ b/saml/saml2/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/saml2/profile/AssertionValidator.h * - * SAML 2.0 basic assertion validator + * SAML 2.0 basic assertion validator. */ #ifndef __saml2_assval_h__ #define __saml2_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;