Migrate to xmlsec 1.3 release, shrink a few headers.
[shibboleth/cpp-opensaml.git] / saml / saml2 / metadata / MetadataFilter.h
index a6dc24f..df01def 100644 (file)
  * Processes metadata after it's been unmarshalled.
  */
 
+#include <saml/base.h>
+#include <saml/exceptions.h>
+#include <xmltooling/XMLObject.h>
+
 #ifndef __saml2_metadatafilt_h__
 #define __saml2_metadatafilt_h__
 
-#include <saml/saml2/metadata/Metadata.h>
-
 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);
     };