- when swamid: - reginfo: authority: http://www.swamid.se/ policy: en: http://www.swamid.se/download/18.248ad5af12aa8136533800012293/SWAMID+Metadata+Registration+Practice+Statement-20110714.pdf - break - when update: - load: - /opt/swamid-metadata/swamid-2.0 via swamid - /opt/swamid-metadata/externals.xrd #- http://md.registry.swamid.se/role/sp.xml via swamid - fork: - select as /md/swamid-2.0: - break - fork: - select as /md/swamid-registered-2.0: - "!//md:EntityDescriptor[md:Extensions[mdrpi:RegistrationInfo[@registrationAuthority='http://www.swamid.se/']]]" - break - fork: - select as /md/swamid-idp: - /md/swamid-registered-2.0+http://pyff-project.org/role=idp - break - fork: - select as /md/swamid-idp-transitive: - /md/swamid-2.0+http://pyff-project.org/role=idp - break - break - when request: - select - pipe: - when accept application/xml: - xslt: stylesheet: tidy.xsl - first - finalize: cacheDuration: PT5H validUntil: P10D - sign: key: default.key cert: default.crt - emit application/xml - break - when accept application/json: - xslt: stylesheet: discojson.xsl - emit application/json: - break