summaryrefslogtreecommitdiff
path: root/metadata/fidus-test.fd
blob: 5617b60017f3bb0e3ad703144df80f6c3be32fc3 (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
- when local:
    - reginfo:
        authority: https://md.fidus.skolverket.se/test/
        policy:
           en: https://skolverket.se/fidus
    - break
- when clean:
    - xslt:
       stylesheet: tidy.xsl
    - check_xml_namespaces
    - break
- when update:
    - load:
        - /opt/metadata/skolfederation-trial cleanup clean
        - /opt/metadata/swamid cleanup clean
        - /opt/metadata/test-idp cleanup clean via local
        - /opt/metadata/test-sp cleanup clean via local
    - select
    - fork:
        - select as downstream:
           - https://fidustest.skolverket.se/shibboleth
           - https://sso.skolverket.sonet.com.au/module.php/saml/sp/metadata.php/sp1
           - https://sso.am.uat.skolverket.sonet.com.au/module.php/saml/sp/metadata.php/sp1
           - https://am-sso-int.skol.sonet.net.au/module.php/saml/sp/metadata.php/sp1
           - https://am-sso-utb.skol.sonet.net.au/module.php/saml/sp/metadata.php/sp1
           - https://am-sso.skol.sonet.net.au/module.php/saml/sp/metadata.php/sp1
           - https://am-sso-uat.skol.sonet.net.au/module.php/saml/sp/metadata.php/sp1
           - https://humhub-idp-proxy.sunet.se/sp
           - https://idpproxy.dev.eduid.se/sp
           - https://vfu-test.su.se/Shibboleth.sso
           - https://vfusyd-test.su.se/Shibboleth.sso
           - https://betyg.test.uhr.se/beda-inrapportering
           - https://betyg.uhr.se/beda-inrapportering
           - https://otc-skol-uat-sso.am.rm.com/module.php/saml/sp/metadata.php/sp1
        - break
    - fork:
        - select as ds
        - break
    - break
- when request:
    - select
    - pipe:
        - when accept application/xml:
             - xslt:
                 stylesheet: tidy.xsl
             - pubinfo:
                 publisher: https://md.fidus.skolverket.se/test/
             - first
             - finalize:
                 baseURL: https://md.fidus.skolverket.se/test/
                 cacheDuration: PT5H
                 validUntil: P10D
             - sign:
                 key: /etc/credentials/pyff-signing-key.pem
                 cert: /etc/credentials/metadata.crt
             - emit application/xml
             - break
        - when accept application/json:
             - discojson
             - emit application/json:
             - break