summaryrefslogtreecommitdiff
path: root/idp/templates/config
diff options
context:
space:
mode:
authorMarkus Krogh <markus@nordu.net>2017-10-03 21:26:01 +0200
committerMarkus Krogh <markus@nordu.net>2017-10-03 21:26:01 +0200
commit31def545e41fd4d3ca7754ff33460f15b50fe789 (patch)
tree058cac29536dfdb8e03d4d3f60e557d2358fea3c /idp/templates/config
parent08c5c6b74eae21ccbb35d3286b45d60a1bbab449 (diff)
SP add, and cleanup
Diffstat (limited to 'idp/templates/config')
-rw-r--r--idp/templates/config/attribute-filter.xml5
-rw-r--r--idp/templates/config/metadata-providers.xml1
-rw-r--r--idp/templates/config/sp.xml.add1
3 files changed, 6 insertions, 1 deletions
diff --git a/idp/templates/config/attribute-filter.xml b/idp/templates/config/attribute-filter.xml
index 3514282..8d61071 100644
--- a/idp/templates/config/attribute-filter.xml
+++ b/idp/templates/config/attribute-filter.xml
@@ -226,7 +226,10 @@
<!-- ukfederation + incommon -->
<AttributeFilterPolicy id="everyoneInSwamidFeed">
- <PolicyRequirementRule xsi:type="InEntityGroup" groupID="http://mds.swamid.se/md/swamid-2.0.xml" />
+ <PolicyRequirementRule xsi:type="OR">
+ <Rule xsi:type="InEntityGroup" groupID="http://mds.swamid.se/md/swamid-2.0.xml" />
+ <!-- local SPs -->
+ </PolicyRequirementRule>
<AttributeRule attributeID="givenName">
<PermitValueRule xsi:type="ANY" />
</AttributeRule>
diff --git a/idp/templates/config/metadata-providers.xml b/idp/templates/config/metadata-providers.xml
index d813c06..a580688 100644
--- a/idp/templates/config/metadata-providers.xml
+++ b/idp/templates/config/metadata-providers.xml
@@ -54,4 +54,5 @@
<!--<MetadataProvider id="sp.nordu.dev" xsi:type="FilesystemMetadataProvider" metadataFile="/metadata/sp-metadata.xml" /> -->
+ <!-- local SPs -->
</MetadataProvider>
diff --git a/idp/templates/config/sp.xml.add b/idp/templates/config/sp.xml.add
new file mode 100644
index 0000000..7c7eac4
--- /dev/null
+++ b/idp/templates/config/sp.xml.add
@@ -0,0 +1 @@
+ <MetadataProvider id="SP_NAME" xsi:type="FilesystemMetadataProvider" metadataFile="%{idp.home}/metadata/SP_XML" />