opensaml::saml2md::MetadataFilter Class Reference

A metadata filter is used to process metadata after resolution and unmarshalling. More...

#include <saml/saml2/metadata/MetadataFilter.h>

List of all members.

Public Member Functions

virtual const char * getId () const =0
 Returns an identifying string for the filter.
virtual void doFilter (xmltooling::XMLObject &xmlObject) const =0
 Filters the given metadata.


Detailed Description

A metadata filter is used to process metadata after resolution and unmarshalling.

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.


Member Function Documentation

virtual void opensaml::saml2md::MetadataFilter::doFilter ( xmltooling::XMLObject &  xmlObject  )  const [pure virtual]

Filters the given metadata.

Exceptions should generally not be thrown to signal the removal of information, only for systemic processing failure.

Parameters:
xmlObject the metadata to be filtered.

virtual const char* opensaml::saml2md::MetadataFilter::getId (  )  const [pure virtual]

Returns an identifying string for the filter.

Returns:
the ID string


The documentation for this class was generated from the following file:
Generated on Wed Aug 19 16:36:01 2009 for opensaml-2.2.1 by  doxygen 1.4.7