diff options
author | Leif Johansson <leifj@sunet.se> | 2011-08-01 11:24:18 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-08-01 11:24:18 +0200 |
commit | 31c3cc219523530e36459717acbd836ae65325b2 (patch) | |
tree | 03614926752ffa8f603b65eefb51c9d0d8c21e62 /src/installer/resources/wayfconfig.xml | |
parent | c443c12a8daff4528b4082979add3d178a6183d8 (diff) |
moved to trunk
Diffstat (limited to 'src/installer/resources/wayfconfig.xml')
-rw-r--r-- | src/installer/resources/wayfconfig.xml | 77 |
1 files changed, 14 insertions, 63 deletions
diff --git a/src/installer/resources/wayfconfig.xml b/src/installer/resources/wayfconfig.xml index 7a65e7d..1df1e07 100644 --- a/src/installer/resources/wayfconfig.xml +++ b/src/installer/resources/wayfconfig.xml @@ -18,12 +18,11 @@ The jspFile & errorJspFile attributes control the display The provideList attribute controls whether a single list of all - possible IdPs is presented. This also controls whether the - Quick search dialog is presented. + possible IdPs is presented. The default wayf.jsp works best + if this is true when provideListofList is true. The provideListOfList attribute controls whether multiple lists - are presented (one for each MetadataProvider). Rather than all - the entities as one. + are presented (one for each MetadataProvider). The showUsableIdPs attribute controls the contents of the above lists. The single list (provideList=true) is trimmed by @@ -33,20 +32,13 @@ The SearchIgnore element contains a list of words to be ignored while performing a search. - - warnOnBadBinding describes what to do iof the metadata has a badly - formed <DiscoveryResponse> false (or not present) means that the bad - SP is removed from the metadata and an error written to the log file. - True means that we just note this in the log file. - THIS SETTING IS SYSTEM WIDE ONLY. --> <Default jspFile="wayf.jsp" errorJspFile="wayferror.jsp" - provideList="true" - provideListOfList="false" - warnOnBadBinding="false" + provideList="false" + provideListOfList="true" showUnusableIdPs="false"> <SearchIgnore> <IgnoreText>Institution</IgnoreText> @@ -68,16 +60,16 @@ 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"/> -<!-- If the DS is to handle data from more than one metadata source +<!-- If the WAYF is to handle data from more than one metadata source then more metadataproviders can be provided, as below <MetadataProvider @@ -85,36 +77,8 @@ identifier="SecondSite" backingFile="$DS_HOME$/metadata/ukfed_store.xml" url="http://metadata.ukfederation.org.uk/ukfederation-metadata.xml"/> - - White and black list providers are defined as filters inside a provider: - - <MetadataProvider - - displayName="WhiteListed Metadata" - identifier="White" - type="edu.internet2.middleware.shibboleth.metadata.provider.XMLMetadata" - backingFile="$DS_HOME$/metadata/whitelist_store.xml" - url="http://metadata.ukfederation.org.uk/ukfederation-test.xml"> - - <Filter identifier="false" - type="edu.internet2.middleware.shibboleth.wayf.plugins.provider.ListFilter" - excludeEntries="true"> - <EntityId>https://idp.edina.ac.uk/shibboleth</EntityId> - <EntityId>https://dlib-adidp.ucs.ed.ac.uk/shibboleth</EntityId> - <EntityId>https://idp.edina.ac.uk/shibboleth-devel</EntityId> - <EntityId>https://idp.edina.ac.uk/shibboleth-devel-13</EntityId> - </Filter> - </MetadataProvider> - - NOTE that the resulting metadata has to include any SP which may need service from - this DS. - - For a black list, set excludeEntries="true" (the listed Entities will be excluded), for - a while list, set it to "false" (the listed entries will be included). - --> - <!-- Plugins are extensible, the identifier is required, as is the type, the rest is for the plugin to define --> @@ -147,8 +111,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. @@ -164,10 +128,10 @@ <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> + +<!-- The ClearCache handler causes the cookie to be deleted. The jsp shipped + with the WAYF refers to this handler --> <DiscoveryServiceHandler location=".+/ClearCache.wayf"> @@ -185,17 +149,4 @@ </DiscoveryServiceHandler> --> -<!-- 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"> - <Federation identifier="FirstSite"/> - <PluginInstance identifier="CookiePlugin"/> - </DiscoveryServiceHandler> - - - </WayfConfig> |