summaryrefslogtreecommitdiff
path: root/metadata/mdq.fd
blob: 32a08bf723d71e5de940649cc90f436097758654 (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://mdx.qa.swamid.se/
             - first
             - finalize:
                 baseURL: https://mdx.qa.swamid.se/
                 cacheDuration: PT5H
                 validUntil: P10D
             - sign:
                 key: /opt/metadata/swamid-interfederations-2.0/cert/swamid-qa.key
                 cert: /opt/metadata/swamid-interfederations-2.0/cert/swamid-qa.crt
             - emit application/xml
             - break