|
||||||||||
| 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.ListFilter
public class ListFilter
See SDSJ-57. Explicit
| Field Summary | |
|---|---|
private boolean |
excludeEntries
Set if this is a blacklist. |
private Set<String> |
filterEntities
The list of entities. |
private String |
filterName
The name of the filter (needed for debug). |
private static Logger |
LOG
Log for any messages. |
| Constructor Summary | |
|---|---|
private |
ListFilter()
Only the protected constructor should be visible. |
|
ListFilter(Element config)
Initialize the filter. |
| Method Summary | |
|---|---|
void |
doFilter(org.opensaml.xml.XMLObject metadata)
Apply the filter. |
private void |
filterEntities(org.opensaml.saml2.metadata.EntitiesDescriptor entities)
Filter an EntitiesDescriptor . |
| 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 boolean excludeEntries
private final Set<String> filterEntities
private final String filterName
| Constructor Detail |
|---|
private ListFilter()
public ListFilter(Element config)
config - the configuration.
The configuration looks liken this<Filter identifier="WhiteList"
type ="edu.internet2.middleware.shibboleth.wayf.plugins.provider.ListFilter"
excludeEntries = "true">
<EntityId>foo</EntityId>
[...]
</Filter>
| 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 void filterEntities(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 | |||||||||