...
Note |
---|
Setting the min and max refresh delay to the same value is a nonsensical configuration. Don't do it. |
Code Block |
---|
| xml |
---|
| xml |
---|
title | Example Metadata Declarationsxml |
---|
|
<MetadataProvider
displayName="Local Federation"
identifier="FileFed"
url="file:///etc/DiscoveryService/metadata/sites.xml"/>
<MetadataProvider
displayName="UK Federation"
identifier="UkFed"
certicateFile="/etc/metadata/ukfederation.pem"
maxValidityInterval = "P7D"
backingFile="/etc/metadata/ukfed_store.xml"
url="http://metadata.ukfederation.org.uk/ukfederation-metadata.xml"/>
|
...
Once a metadata source has been declared, it is associated with a specific location via the <DiscoveryServiceHandler>
element.
Code Block |
---|
| xml |
---|
| xml |
---|
title | Example Discovery Service declarationsxml |
---|
|
<DiscoveryServiceHandler [...]>
<Federation identifier="UkFed"/>
[...]
</DiscoveryServiceHandler>
|
...
- identifier - An unique identifier for the filter
- type - The class name for the filter.
Code Block |
---|
| xml |
---|
| xml |
---|
title | Example Metadata Filters declarationxml |
---|
|
<MetadataProvider [...]>
<Filter identifier="Filter1"
type="uk.ac.ed.sdss.FilterForStuff">
<MoreSpecificStuff
param="wibble"
/>
</Filter>
<Filter identifier="Filter2"
type="edu.internet2.OtherFilter">
<Stuff>
<EvenMoreStuff/>
</Stuff>
</Filter>
</MetadataProvider>
|
...
The filter is configured thus:
Code Block |
---|
| xml |
---|
| xml |
---|
title | Example Black List filterxml |
---|
|
<Filter identifier="Black"
type="edu.internet2.middleware.shibboleth.wayf.plugins.provider.ListFilter"
excludeEntries="true">
<EntityId>https://first.blacklisted.entity.edu/IdP</EntityId>
<EntityId>https://another.blacklisted.entity.edu/IdP</EntityId>
</Filter>
|
...