X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=saml%2Fsaml2%2Fmetadata%2FMetadataFilter.h;h=df01def45e90e5700e11a316ccdd926284686c4c;hb=01fe9dc618b7e57645b71a23757657102e9ac380;hp=a6dc24f5ce40724373742a0255de8e0bd12abdaa;hpb=12d8e6ed0125ea986a8eb78ea177b6d6f0251fd6;p=shibboleth%2Fcpp-opensaml.git diff --git a/saml/saml2/metadata/MetadataFilter.h b/saml/saml2/metadata/MetadataFilter.h index a6dc24f..df01def 100644 --- a/saml/saml2/metadata/MetadataFilter.h +++ b/saml/saml2/metadata/MetadataFilter.h @@ -20,11 +20,13 @@ * Processes metadata after it's been unmarshalled. */ +#include +#include +#include + #ifndef __saml2_metadatafilt_h__ #define __saml2_metadatafilt_h__ -#include - namespace opensaml { namespace saml2md { @@ -70,6 +72,9 @@ namespace opensaml { /** MetadataFilter that deletes all but whitelisted entities. */ #define WHITELIST_METADATA_FILTER "org.opensaml.saml2.metadata.provider.WhitelistMetadataFilter" + + /** MetadataFilter that verifies signatures and filters out any that don't pass. */ + #define SIGNATURE_METADATA_FILTER "org.opensaml.saml2.metadata.provider.SignatureMetadataFilter" DECL_XMLTOOLING_EXCEPTION(MetadataFilterException,SAML_EXCEPTIONAPI(SAML_API),opensaml::saml2md,xmltooling::XMLToolingException,Exceptions related to metadata filtering); };