|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.internet2.middleware.shibboleth.wayf.plugins.provider.BindingFilter
public class BindingFilter
See SDSJ-48. If we get a DS endpoint then we need to check that the binding is provided and that it is correct.
| Field Summary | |
|---|---|
private static Logger |
LOG
Log for the warning. |
private boolean |
warnOnFailure
Set if we just want to warn on failure. |
| Constructor Summary | |
|---|---|
private |
BindingFilter()
Only the protected constructor should be visible. |
|
BindingFilter(boolean warn)
Initialize the filter. |
| Method Summary | |
|---|---|
private void |
checkEntities(org.opensaml.saml2.metadata.EntitiesDescriptor entities)
Check an EntitiesDescriptor call checkentities for the Entities and ourselves recursively for the EntitesDescriptors. |
private static boolean |
checkEntity(org.opensaml.saml2.metadata.EntityDescriptor entity)
If the entity has an SP characteristic, and it has a DS endpoint then check its binding. |
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 |
| Field Detail |
|---|
private static final Logger LOG
private final boolean warnOnFailure
| Constructor Detail |
|---|
private BindingFilter()
public BindingFilter(boolean warn)
warn - do we warn or do we fail if we see badness?| Method Detail |
|---|
public void doFilter(org.opensaml.xml.XMLObject metadata)
throws org.opensaml.saml2.metadata.provider.FilterException
doFilter in interface org.opensaml.saml2.metadata.provider.MetadataFiltermetadata - what to filter.
org.opensaml.saml2.metadata.provider.FilterException - if it sees any missed or bad bindings.MetadataFilter.doFilter(org.opensaml.xml.XMLObject)private static boolean checkEntity(org.opensaml.saml2.metadata.EntityDescriptor entity)
entity - what to check.
private void checkEntities(org.opensaml.saml2.metadata.EntitiesDescriptor entities)
entities - what to check.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||