-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathmdx.fd
More file actions
64 lines (63 loc) · 1.9 KB
/
mdx.fd
File metadata and controls
64 lines (63 loc) · 1.9 KB
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
- when normalize:
- xslt:
stylesheet: tidy.xsl
- break
- when edugain:
- xslt:
stylesheet: tidy.xsl
- break
- when update:
- load:
- examples/links.xrd as links via normalize
- http://mds.edugain.org via edugain
- select
- fork and merge:
- select: "!//md:EntityDescriptor[md:Extensions[mdrpi:RegistrationInfo[@registrationAuthority='http://www.swamid.se/']]]"
- setattr:
http://pyff.io/collection: swamid-2.0
- fork and merge:
- select:
- "http://pyff.io/collection=swamid-2.0+http://pyff.io/role=idp"
- setattr:
http://pyff.io/collection: swamid-idp
- fork:
- select as /md/foo-2.0:
- http://pyff.io/collection=swamid-2.0
- break
- fork:
- select as /md/skolfederation-2.0:
- http://meta01.skolfederation.se/skolfederation-2_0.xml
- break
- fork:
- select as /ndn:
- https://idp.nordu.net/idp/shibboleth
- break
- fork:
- select as /md/swamid-kalmar-1.0:
- https://connect.sunet.se/shibboleth
- https://www.diva-portal.org/shibboleth
- break
- when request:
- select
- pipe:
- when accept application/samlmetadata+xml application/xml:
- pipe:
- when path /md/swamid-kalmar-1.0:
- xslt:
stylesheet: kalmar2.xsl
- break
- xslt:
stylesheet: tidy.xsl
- first
- finalize:
cacheDuration: PT5H
validUntil: P10D
- sign:
key: sign.key
cert: sign.crt
- emit application/samlmetadata+xml
- break
- when accept application/json:
- discojson
- emit application/json
- break