extensions need to go to the head
[swamid-metadata.git] / mdx.fd
1 - when swamid:
2     - reginfo:
3         authority: http://www.swamid.se/
4         policy: 
5            en: http://www.swamid.se/download/18.248ad5af12aa8136533800012293/SWAMID+Metadata+Registration+Practice+Statement-20110714.pdf
6     - break
7 - when update:
8     - load:
9         - /opt/swamid-metadata/swamid-2.0 via swamid
10         - /opt/swamid-metadata/externals.xrd
11         #- http://md.registry.swamid.se/role/sp.xml via swamid
12     - fork:
13         - select as /md/swamid-2.0:
14         - break
15     - fork:
16         - select as /md/swamid-registered-2.0:
17             - "!//md:EntityDescriptor[md:Extensions[mdrpi:RegistrationInfo[@registrationAuthority='http://www.swamid.se/']]]"
18         - break
19     - fork:
20         - select as /md/swamid-idp:
21             - /md/swamid-registered-2.0+http://pyff-project.org/role=idp
22         - break
23     - fork:
24         - select as /md/swamid-idp-transitive:
25             - /md/swamid-2.0+http://pyff-project.org/role=idp
26         - break
27     - fork:
28         - select as /md/swamid-kalmar-1.0:
29             - https://idp.umu.se/saml2/idp/metadata.php
30             - https://connect.sunet.se/shibboleth
31             - https://sp.swamid.se/shibboleth
32             - https://idp.it.gu.se/idp/shibboleth
33             - https://www.diva-portal.org/shibboleth
34             - https://crowd.nordu.net/shibboleth
35             - https://idp.nordu.net/idp/shibboleth
36             - https://beta.lobber.se/shibboleth
37             - https://nordunet.tv/shibboleth
38             - https://mailfilter.nordu.net/shibboleth
39             - https://jabber.nordu.net/shibboleth
40             - https://meetingtools.nordu.net/shibboleth
41             - https://connect-beta.sunet.se/shibboleth
42             - https://connect-stable.sunet.se/shibboleth
43             - https://webinar.nordu.net/shibboleth
44             - https://box-idp.nordu.net/simplesaml/module.php/saml/sp/metadata.php/default-sp
45             - https://se.timeedit.net/lapinamk-generic-sp
46         - break
47     - fork:
48         - select as /md/swamid-edugain-1.0:
49             - https://connect.sunet.se/shibboleth
50             - https://connect-beta.sunet.se/shibboleth
51             - https://webinar.nordu.net/shibboleth
52             - https://sp.swamid.se/shibboleth
53             - https://idp.nordu.net/idp/shibboleth
54             - https://sp-test.swamid.se/shibboleth
55             - https://weblogin.uu.se/idp/shibboleth
56             - https://identity.mdh.se/idp/shibboleth
57             - https://idp2.kau.se/idp/shibboleth
58             - https://idp.it.gu.se/idp/shibboleth
59             - https://kiidp.ki.se/idp/shibboleth
60             - https://e5.onthehub.com
61             - https://login.liu.se/idp/shibboleth
62             - https://keybucket.app.nordu.net/saml2/sp/metadata
63             - https://idp.it.su.se/idp/shibboleth
64             - https://shib-idp-1.oru.se/idp/shibboleth
65             - https://saml-1.sys.kth.se/idp/shibboleth
66             - https://idp.hig.se/idp/shibboleth
67             - https://egiswamid.egi.kth.se/shibboleth
68             - https://hbidp.hb.se/idp/shibboleth
69             - https://idp.student.bth.se/idp/shibboleth
70             - https://idp.bth.se/idp/shibboleth
71             - https://login.du.se/idp/shibboleth
72             - https://idp.kb.se/idp/shibboleth
73             - https://box-idp.nordu.net/simplesaml/module.php/saml/sp/metadata.php/default-sp
74             - https://wiki.edugain.org/shibboleth
75             - https://shibb1.hj.se/idp/shibboleth
76             - http://test-adfs.geant.net/adfs/services/trust
77             - https://idp2-1.slu.se/idp/shibboleth
78             - https://login.idp.hhs.se/idp/shibboleth
79             - https://shibbo.ltu.se/idp/shibboleth           
80     - break
81 - when request:
82     - select
83     - pipe:
84         - when accept application/xml:
85              - xslt:
86                  stylesheet: tidy.xsl
87              - pubinfo:
88                  publisher: http://www.swamid.se/
89              - first
90              - finalize:
91                  cacheDuration: PT5H
92                  validUntil: P10D
93              - sign:
94                  key: default.key
95                  cert: default.crt
96              - emit application/xml
97              - break
98         - when accept application/json:
99              - xslt:
100                  stylesheet: discojson.xsl
101              - emit application/json:
102              - break