Class SchemaValidationFilter
- java.lang.Object
-
- org.opensaml.saml.metadata.resolver.filter.impl.SchemaValidationFilter
-
- All Implemented Interfaces:
org.opensaml.saml.metadata.resolver.filter.MetadataFilter
public class SchemaValidationFilter extends Object implements org.opensaml.saml.metadata.resolver.filter.MetadataFilter
A metadata filter that schema validates an incoming metadata file.
-
-
Field Summary
Fields Modifier and Type Field Description private LoggerlogClass logger.private org.opensaml.saml.common.xml.SAMLSchemaBuildersamlSchemaBuilderSAML schema source.private net.shibboleth.utilities.java.support.xml.SchemaBuilderschemaBuilderSelf-managed SchemaBuilder to support old extension schema parameter.
-
Constructor Summary
Constructors Constructor Description SchemaValidationFilter(org.opensaml.saml.common.xml.SAMLSchemaBuilder builder)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opensaml.core.xml.XMLObjectfilter(org.opensaml.core.xml.XMLObject metadata, org.opensaml.saml.metadata.resolver.filter.MetadataFilterContext context)
-
-
-
Field Detail
-
log
@Nonnull private final Logger log
Class logger.
-
schemaBuilder
@Nullable private net.shibboleth.utilities.java.support.xml.SchemaBuilder schemaBuilder
Self-managed SchemaBuilder to support old extension schema parameter.
-
samlSchemaBuilder
@Nonnull private org.opensaml.saml.common.xml.SAMLSchemaBuilder samlSchemaBuilder
SAML schema source.
-
-
Method Detail
-
filter
@Nullable public org.opensaml.core.xml.XMLObject filter(@Nullable org.opensaml.core.xml.XMLObject metadata, @Nonnull org.opensaml.saml.metadata.resolver.filter.MetadataFilterContext context) throws org.opensaml.saml.metadata.resolver.filter.FilterException- Specified by:
filterin interfaceorg.opensaml.saml.metadata.resolver.filter.MetadataFilter- Throws:
org.opensaml.saml.metadata.resolver.filter.FilterException
-
-