Excerpt | ||
---|---|---|
| ||
Reads in the US, UK, and local metadata and for each one checks the signature (and fails if the signature is bad), validates the validUtil constraint, disassembles al EntityDescriptors, and validates the schema of each EntityDescriptor. Then all the inputs are merged together and schema invalid items logged and removed. Finally, three output streams are constructed, one that contains all entities, one that contains only IdPs, and one that contains only SP. Each stream is assembled into an EntitiesDescriptor, a validUntil constraints is added, and the entire thing is signed and written out to a file. Also demonstrates various ways to remove some of the verbosity of Spring bean files. |
This command line configuration example:
- reads aggregate metadata from a local directory, the UK federation and from the InCommon federation
- verifies each aggregate's signature
- disaggregates each input aggregate into individual entities
- schema-validates each entity, logging and removing any schema-invalid entity
- merges metadata from the three sources while removing duplicate entities
- removes three specific entities belonging to the Shibboleth project
- generates and signs three output aggregates: one containing all entities, one containing just IdP entities, and one containing just SP entities
- writes the three output aggregates into files
...