#include <saml/saml2/metadata/MetadataFilter.h>
Public Member Functions | |
virtual const char * | getId () const =0 |
Returns an identifying string for the filter. | |
virtual void | doFilter (xmltooling::XMLObject &xmlObject) const |
virtual void | doFilter (const MetadataFilterContext *ctx, xmltooling::XMLObject &xmlObject) const |
Filters the given metadata. |
Some filters might remove everything but identity provider 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.
virtual const char* opensaml::saml2md::MetadataFilter::getId | ( | ) | const [pure virtual] |
Returns an identifying string for the filter.
virtual void opensaml::saml2md::MetadataFilter::doFilter | ( | xmltooling::XMLObject & | xmlObject | ) | const [virtual] |
xmlObject | the metadata to be filtered |
virtual void opensaml::saml2md::MetadataFilter::doFilter | ( | const MetadataFilterContext * | ctx, | |
xmltooling::XMLObject & | xmlObject | |||
) | const [virtual] |
Filters the given metadata.
Exceptions should generally not be thrown to signal the removal of information, only for systemic processing failure.
ctx | context interface, or nullptr | |
xmlObject | the metadata to be filtered |