public interface MetadataFilter
XMLObject, either an EntityDescriptor
or an EntitiesDescriptor.
Some example filters might remove everything but identity providers roles, decreasing the data a service provider needs to work with, or a filter could be used to perform integrity checking on the retrieved metadata by verifying a digital signature.
If a filter wishes to completely remove the top-level document element, or otherwise indicate that it
has successfully produced an empty data set from the input document, null may be returned
by the filter's filter(XMLObject) method.
| Modifier and Type | Method and Description |
|---|---|
org.opensaml.core.xml.XMLObject |
filter(org.opensaml.core.xml.XMLObject metadata)
Filters the given metadata, perhaps to remove elements that are not wanted.
|
@Nullable org.opensaml.core.xml.XMLObject filter(@Nullable org.opensaml.core.xml.XMLObject metadata) throws FilterException
metadata - the metadata to be filtered.FilterException - thrown if an error occurs during the filtering processCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.