summaryrefslogtreecommitdiff
path: root/metadata/swamid-prod.fd
diff options
context:
space:
mode:
Diffstat (limited to 'metadata/swamid-prod.fd')
-rw-r--r--metadata/swamid-prod.fd53
1 files changed, 50 insertions, 3 deletions
diff --git a/metadata/swamid-prod.fd b/metadata/swamid-prod.fd
index b37ce86a..f09f9b54 100644
--- a/metadata/swamid-prod.fd
+++ b/metadata/swamid-prod.fd
@@ -5,9 +5,56 @@
- 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
+ - /opt/metadata/swamid-edugain as swamid-edugain-dir cleanup clean
+ - /opt/metadata/swamid-2.0 as swamid-2.0-dir cleanup clean
+ - /opt/metadata/swamid-interfederations-2.0 as swamid-interfederations-dir cleanup clean
+ - /opt/metadata/swamid-testing as swamid-testing-dir cleanup clean
+
+ # Read dirs
+ - fork:
+ # swamid-2.0.xml
+ - select as swamid-2.0:
+ - swamid-edugain-dir
+ - swamid-2.0-dir
+ - swamid-interfederations-dir
+ - fork:
+ # swamid-edugain-1.0.xml
+ - select as swamid-edugain-1.0:
+ - swamid-edugain-dir
+ - fork:
+ # swamid-registered.xml swamid-discovery.xml
+ - select as swamid-registered:
+ - swamid-edugain-dir
+ - swamid-2.0-dir
+ # Read selectors
+ - fork:
+ # swamid-idp.xml
+ - select as swamid-idp:
+ - swamid-registered!//md:EntityDescriptor[md:IDPSSODescriptor]
+ - fork:
+ # swamid-idp-transitive.xml
+ - select as swamid-idp-transitive:
+ - swamid-2.0!//md:EntityDescriptor[md:IDPSSODescriptor]
+ - fork:
+ # swamid-sp.xml
+ - select as swamid-sp:
+ - swamid-registered!//md:EntityDescriptor[md:SPSSODescriptor]
+ - fork:
+ # swamid-sp-transitive.xml
+ - select as swamid-sp-transitive:
+ - swamid-2.0!//md:EntityDescriptor[md:SPSSODescriptor]
+
+ # Testing
+ - fork:
+ # swamid-testing-1.0.xml
+ - select as swamid-testing-1.0:
+ - swamid-edugain-dir
+ - swamid-2.0-dir
+ - swamid-testing-dir
+ - fork:
+ # swamid-testing-idp-1.0.xml
+ - select as swamid-testing-idp-1.0:
+ - swamid-testning-1.0!//md:EntityDescriptor[md:IDPSSODescriptor]
- break
- when request:
- select