summaryrefslogtreecommitdiff
path: root/src/installer/resources/wayfconfig.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/installer/resources/wayfconfig.xml')
-rwxr-xr-xsrc/installer/resources/wayfconfig.xml90
1 files changed, 67 insertions, 23 deletions
diff --git a/src/installer/resources/wayfconfig.xml b/src/installer/resources/wayfconfig.xml
index 664cd0d..e0d8b36 100755
--- a/src/installer/resources/wayfconfig.xml
+++ b/src/installer/resources/wayfconfig.xml
@@ -31,7 +31,18 @@
The SearchIgnore element contains a list of words to be ignored while
performing a search.
+-->
+
+ <Default
+ jspFile="wayf.jsp"
+ errorJspFile="wayferror.jsp"
+ provideList="false"
+ warnOnBadBinding="false"
+ warnOnNoSAML2="false"
+ provideListOfList="true"
+ showUnusableIdPs="true">
+<!--
warnOnNoSAML2 causes the DS to issue a warning when it receives a
DS protocol message from an SP which is declared to not support
SAML2 in its metadata. The JIRA case
@@ -44,7 +55,6 @@
THIS SETTING IS SYSTEM WIDE ONLY.
-->
- <Default jspFile="wayf.jsp" errorJspFile="wayferror.jsp" provideList="true" provideListOfList="false" warnOnBadBinding="false" warnOnNoSAML2="false" showUnusableIdPs="false">
<SearchIgnore>
<IgnoreText>Institution</IgnoreText>
<IgnoreText>University</IgnoreText>
@@ -65,11 +75,21 @@
be used if the DS cannot get hold of the 'real' data.
NOTE - for windows installation with an explicit DOS device ("C:\etc\discoveryservice")
- The url below should be "file://C:\program files/metadata/sites.xml
+ The url below should be "file:///$DS_HOME$/metadata/sites.xml
-->
- <MetadataProvider displayName="Federation Name" identifier="FirstSite" url="file://$DS_HOME$/metadata/sites.xml"/>
+ <MetadataProvider displayName="SWAMID" identifier="SWAMID"
+ url="http://md.swamid.se/md/swamid-no-interfederation-combined.xml"
+ backingFile="/opt/shibboleth-ds/metadata/swamid-no-interfederation-combined.xml"/>
+
+ <!-- MetadataProvider displayName="UK Federation" identifier="UKFED"
+ backingFile="/opt/shibboleth-ds/metadata/ukfederation-metadata.xml"
+ url="http://metadata.ukfederation.org.uk/ukfederation-metadata.xml"/ -->
+
+ <MetadataProvider displayName="Kalmar2" identifier="Kalmar2"
+ backingFile="/opt/shibboleth-ds/metadata/kalmarcentral2.xml"
+ url="http://kalmar2.org/simplesaml/module.php/aggregator/?id=kalmarcentral2&amp;set=saml2&amp;exclude=sweden&amp;mimetype=application/xml"/>
<!-- If the DS is to handle data from more than one metadata source
then more metadataproviders can be provided, as below
@@ -131,8 +151,8 @@
element. As well as the attributes and elements described above,
each DiscoveryServiceHandler *MUST* have a location attribute.
- The default wayf.xml specifies that "/WAYF", "/DS" and "/*.wayf"
- are the possibilities for DiscoveryServices. If a URL matches the above,
+ The default wayf.xml specifies that "/WAYF" and "/*.wayf" are the
+ possibilities for DiscoveryServices. If a URL matches the above,
but does not match any location in a DiscoveryServiceHandler,
then the first handler for which the default attribute is set
true is invoked.
@@ -142,28 +162,52 @@
-->
- <DiscoveryServiceHandler location=".+/WAYF" default="true">
+<!-- The Javascript handler downloads javascript arrays with the IdPs and the cookies -->
+ <DiscoveryServiceHandler
+ location=".+/js.wayf"
+ provideList="true"
+ provideListOfList="false"
+ default="false"
+ jspFile="/javascript.jsp">
<PluginInstance identifier="CookiePlugin"/>
- <!--
- <PluginInstance identifier="AddressHint"/> -->
</DiscoveryServiceHandler>
-
- <!-- The ClearCache handler causes the cookie to be deleted. The jsp shipped
- with the DS refers to this handler -->
-
- <DiscoveryServiceHandler location=".+/ClearCache.wayf">
- <PluginInstance identifier="DeleteCookiePlugin"/>
- </DiscoveryServiceHandler>
-<!-- Example of how to constrain a DiscoveryService to one (or more)
- explicit metadata sources. (The default is to use all metadata
- sources)
+ <DiscoveryServiceHandler location="https://ds.swamid.se(:[0-9]+)?/.+/ClearCache.wayf" jspFile="wayf-swamid.jsp" errorJspFile="wayferror-swamid.jsp">
+ <PluginInstance identifier="DeleteCookiePlugin"/>
+ <Federation identifier="SWAMID"/>
+ </DiscoveryServiceHandler>
- <DiscoveryServiceHandler location=".+/SecondOnly.wayf" >
+ <DiscoveryServiceHandler location="https://ds.swamid.se(:[0-9]+)?/.+/(DS|WAYF)/?" jspFile="wayf-swamid.jsp" errorJspFile="wayferror-swamid.jsp">
+ <PluginInstance identifier="CookiePlugin"/>
+ <Federation identifier="SWAMID"/>
+ </DiscoveryServiceHandler>
- <Federation identifier="SecondSite"/>
- <PluginInstance identifier="CookiePlugin"/>
- </DiscoveryServiceHandler>
--->
+ <DiscoveryServiceHandler location="https://wayf.swamid.se(:[0-9]+)?/.+/ClearCache.wayf" jspFile="wayf-swamid.jsp" errorJspFile="wayferror-swamid.jsp">
+ <PluginInstance identifier="DeleteCookiePlugin"/>
+ <Federation identifier="SWAMID"/>
+ </DiscoveryServiceHandler>
+
+ <DiscoveryServiceHandler location="https://wayf.swamid.se(:[0-9]+)?/.+/(DS|WAYF)/?" jspFile="wayf-swamid.jsp" errorJspFile="wayferror-swamid.jsp">
+ <PluginInstance identifier="CookiePlugin"/>
+ <Federation identifier="SWAMID"/>
+ </DiscoveryServiceHandler>
+
+ <DiscoveryServiceHandler location="https://ds.sunet.se(:[0-9]+)?/.+/ClearCache.wayf" jspFile="wayf-sunet.jsp" errorJspFile="wayferror-sunet.jsp">
+ <PluginInstance identifier="DeleteCookiePlugin"/>
+ <Federation identifier="SWAMID"/>
+ </DiscoveryServiceHandler>
+
+ <DiscoveryServiceHandler location="https://ds.sunet.se(:[0-9]+)?/.+/(DS|WAYF)/?" jspFile="wayf-sunet.jsp" errorJspFile="wayferror-sunet.jsp">
+ <PluginInstance identifier="CookiePlugin"/>
+ <Federation identifier="SWAMID"/>
+ </DiscoveryServiceHandler>
+
+ <DiscoveryServiceHandler provideListOfList="true" location="https://idp-test.nordu.net(:[0-9]+)?/.+/ClearCache.wayf" jspFile="wayf-ndn.jsp" errorJspFile="wayferror.jsp">
+ <PluginInstance identifier="DeleteCookiePlugin"/>
+ </DiscoveryServiceHandler>
+
+ <DiscoveryServiceHandler provideListOfList="true" location="https://idp-test.nordu.net(:[0-9]+)?/.+/(DS|WAYF)/?" jspFile="wayf-ndn.jsp" errorJspFile="wayferror.jsp">
+ <PluginInstance identifier="CookiePlugin"/>
+ </DiscoveryServiceHandler>
</WayfConfig>