SDSS WAYF patch for multi-federation support
[java-idp.git] / webAppConfig / wayf.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <!DOCTYPE web-app
4     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
5     "http://java.sun.com/dtd/web-app_2_3.dtd">
6
7 <web-app>
8
9         <servlet>
10                 <servlet-name>WAYF</servlet-name>
11                 <display-name>Shibboleth WAYF Service</display-name>
12                 <servlet-class>edu.internet2.middleware.shibboleth.wayf.WayfService</servlet-class>
13                 <init-param>
14                         <param-name>WAYFConfigFileLocation</param-name>
15                         <param-value>/conf/wayfconfig.xml</param-value>
16                 </init-param>
17         </servlet>
18
19 <!-- We specify two mappings - old style http:/host/shibboleth-wayf/WAYF/ and the new style
20      whereby the precise name influences the behavior.  See the configuration file for 
21      examples -->
22
23         <servlet-mapping>
24                 <servlet-name>WAYF</servlet-name>
25                 <url-pattern>/WAYF</url-pattern>
26         </servlet-mapping>
27
28         <servlet-mapping>
29                 <servlet-name>WAYF</servlet-name>
30                 <url-pattern>*.wayf</url-pattern>
31         </servlet-mapping>
32
33         <mime-mapping>
34                 <extension>css</extension>
35                 <mime-type>text/css</mime-type>
36         </mime-mapping>
37 </web-app>