This command line configuration example:
- reads aggregate metadata from a local directory, the UK federation metadata aggregate from its distribution siteand from the InCommon federation
- verifies the each aggregate's signature using the X.509 certificate taken from
path/to/ukfederation-2014.pem
- 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
- removes all entity role descriptors other than
IDPSSODescriptor
,SPSSODescriptor
orAttributeAuthorityDescriptor
- removes any person or organization contact information
- writes the results into the file
path/to/output.xml
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
This example also demonstrates some techniques you can use to simplify Spring bean configuration files.
You can execute the example as follows:
...