X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fsaml2%2Fmetadata%2FDynamicMetadataProvider.h;h=fb9968b47e31ff17dab100402f5a8b23f5167db7;hp=7ca322ce55591761be797d181cc17d1517a586da;hb=807f7429a14b87055f56c6e7171ec7aae5def13f;hpb=41ff516608948648e801ec90f18be65e485cf335;ds=sidebyside diff --git a/saml/saml2/metadata/DynamicMetadataProvider.h b/saml/saml2/metadata/DynamicMetadataProvider.h index 7ca322c..fb9968b 100644 --- a/saml/saml2/metadata/DynamicMetadataProvider.h +++ b/saml/saml2/metadata/DynamicMetadataProvider.h @@ -1,6 +1,6 @@ /* * Copyright 2001-2007 Internet2 - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -16,7 +16,7 @@ /** * @file saml/saml2/metadata/DynamicMetadataProvider.h - * + * * Simple implementation of a dynamic caching MetadataProvider. */ @@ -36,7 +36,7 @@ namespace opensaml { public: /** * Constructor. - * + * * @param e DOM to supply configuration for provider */ DynamicMetadataProvider(const xercesc::DOMElement* e=NULL); @@ -65,9 +65,12 @@ namespace opensaml { /** Controls XML schema validation. */ bool m_validate; + /** Caps the allowable cache duration of a metadata instance. */ + time_t m_maxCacheDuration; + /** * Resolves an entityID into a metadata instance for that entity. - * + * * @param entityID entity ID to resolve * @return a valid metadata instance */ @@ -76,7 +79,7 @@ namespace opensaml { private: mutable xmltooling::RWLock* m_lock; }; - + }; };