summaryrefslogtreecommitdiff
path: root/metadata/swamid-prod.fd
blob: 52fd038249b933562a2a42091e4152d69e1fc386 (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
- when clean:
    - xslt:
       stylesheet: tidy.xsl
    - check_xml_namespaces
    - break
- when update:
    - load:
        - /opt/metadata/swamid-edugain cleanup clean
        - /opt/metadata/swamid-2.0 cleanup clean
        - /opt/metadata/swamid-interfederations-2.0 cleanup clean
    - break
- when request:
    - select
    - pipe:
        - when accept application/samlmetadata+xml application/xml:
             - xslt:
                 stylesheet: tidy.xsl
             - pubinfo:
                 publisher: https://mds.swamid.se/
             - first
             - finalize:
                 baseURL: https://mds.swamid.se/
                 cacheDuration: PT5H
                 validUntil: P10D
             - sign:
                 key: http://hsm_client_hsmproxy.docker:8000/swamidHA/swamid2
                 cert: /etc/credentials/md-signer2.crt
             - emit application/xml
             - break