edu.internet2.middleware.shibboleth.wayf.plugins.provider
Class BindingFilter
java.lang.Object
edu.internet2.middleware.shibboleth.wayf.plugins.provider.BindingFilter
- All Implemented Interfaces:
- org.opensaml.saml2.metadata.provider.MetadataFilter
public class BindingFilter
- extends Object
- implements org.opensaml.saml2.metadata.provider.MetadataFilter
See SDSJ-48. If we get a DS endpoint then we need to check that the binding is provided
and that it is correct.
Constructor Summary |
BindingFilter(boolean warn)
Initialize the filter. |
Method Summary |
void |
doFilter(org.opensaml.xml.XMLObject metadata)
Apply the filter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BindingFilter
public BindingFilter(boolean warn)
- Initialize the filter.
- Parameters:
warn
- do we warn or do we fail if we see badness?
doFilter
public void doFilter(org.opensaml.xml.XMLObject metadata)
throws org.opensaml.saml2.metadata.provider.FilterException
- Apply the filter.
- Specified by:
doFilter
in interface org.opensaml.saml2.metadata.provider.MetadataFilter
- Parameters:
metadata
- what to filter.
- Throws:
org.opensaml.saml2.metadata.provider.FilterException
- if it sees any missed or bad bindings.- See Also:
MetadataFilter.doFilter(org.opensaml.xml.XMLObject)
Copyright © 2006-2010 Internet2. All Rights Reserved.