summaryrefslogtreecommitdiff
path: root/mdx.fd
blob: 83dfed8dd50cf8c226718c182c58e41c75360b90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
- when swamid:
    - reginfo:
        authority: http://www.swamid.se/
        policy: 
           en: http://swamid.se/policy/mdrps
    - 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
    - fork:
        - select as /md/swamid-kalmar-1.0:
            - https://idp.umu.se/saml2/idp/metadata.php
            - https://connect.sunet.se/shibboleth
            - https://sp.swamid.se/shibboleth
            - https://idp.it.gu.se/idp/shibboleth
            - https://www.diva-portal.org/shibboleth
            - https://crowd.nordu.net/shibboleth
            - https://idp.nordu.net/idp/shibboleth
            - https://beta.lobber.se/shibboleth
            - https://nordunet.tv/shibboleth
            - https://mailfilter.nordu.net/shibboleth
            - https://jabber.nordu.net/shibboleth
            - https://meetingtools.nordu.net/shibboleth
            - https://connect-beta.sunet.se/shibboleth
            - https://connect-stable.sunet.se/shibboleth
            - https://webinar.nordu.net/shibboleth
            - https://box-idp.nordu.net/simplesaml/module.php/saml/sp/metadata.php/default-sp
            - https://se.timeedit.net/lapinamk-generic-sp
        - break
    - fork:
        - select as /md/swamid-edugain-1.0:
            - https://connect.sunet.se/shibboleth
            - https://connect-beta.sunet.se/shibboleth
            - https://webinar.nordu.net/shibboleth
            - https://sp.swamid.se/shibboleth
            - https://idp.nordu.net/idp/shibboleth
            - https://sp-test.swamid.se/shibboleth
            - https://weblogin.uu.se/idp/shibboleth
            - https://identity.mdh.se/idp/shibboleth
            - https://idp2.kau.se/idp/shibboleth
            - https://idp.it.gu.se/idp/shibboleth
            - https://kiidp.ki.se/idp/shibboleth
            - https://e5.onthehub.com
            - https://login.liu.se/idp/shibboleth
            - https://keybucket.app.nordu.net/saml2/sp/metadata
            - https://idp.it.su.se/idp/shibboleth
            - https://shib-idp-1.oru.se/idp/shibboleth
            - https://saml-1.sys.kth.se/idp/shibboleth
            - https://idp.hig.se/idp/shibboleth
            - https://egiswamid.egi.kth.se/shibboleth
            - https://hbidp.hb.se/idp/shibboleth
            - https://idp.student.bth.se/idp/shibboleth
            - https://idp.bth.se/idp/shibboleth
            - https://login.du.se/idp/shibboleth
            - https://idp.kb.se/idp/shibboleth
            - https://box-idp.nordu.net/simplesaml/module.php/saml/sp/metadata.php/default-sp
            - https://wiki.edugain.org/shibboleth
            - https://shibb1.hj.se/idp/shibboleth
            - http://test-adfs.geant.net/adfs/services/trust
            - https://idp2-1.slu.se/idp/shibboleth
            - https://login.idp.hhs.se/idp/shibboleth
            - https://shibbo.ltu.se/idp/shibboleth           
    - break
- when request:
    - select
    - pipe:
        - when accept application/xml:
             - xslt:
                 stylesheet: tidy.xsl
             - pubinfo:
                 publisher: http://www.swamid.se/
             - 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