Make WAYF reload sites file when it changes.
[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         <servlet>
9                 <servlet-name>Logging Service</servlet-name>
10                 <servlet-class>edu.internet2.middleware.shibboleth.log.LogServ</servlet-class>
11                 <init-param>
12                         <param-name>log4jConfigFileLocation</param-name>
13                         <param-value>/conf/log4j.properties</param-value>
14                 </init-param>
15                 <load-on-startup>1</load-on-startup>
16         </servlet>
17         
18         <servlet>
19                 <servlet-name>WAYF</servlet-name>
20                 <display-name>Shibboleth WAYF Service</display-name>
21                 <servlet-class>edu.internet2.middleware.shibboleth.wayf.WayfService</servlet-class>
22                 <init-param>
23                     <param-name>SiteConfigFileLocation</param-name>
24                     <param-value>/conf/sites.xml</param-value>
25                 </init-param>
26         </servlet>
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>