More robust config file loading.
[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.2//EN"
5     "http://java.sun.com/j2ee/dtds/web-app_2_2.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>/WEB-INF/conf/log4j.properties</param-value>
14                 </init-param>
15                 <load-on-startup>1</load-on-startup>
16         </servlet>
17         <servlet>
18                 <servlet-name>WAYF</servlet-name>
19                 <display-name>Shibboleth WAYF Service</display-name>
20                 <servlet-class>edu.internet2.middleware.shibboleth.wayf.WayfService</servlet-class>
21                 <init-param>
22                     <param-name>SiteConfigFileLocation</param-name>
23                     <param-value>/sites.xml</param-value>
24                 </init-param>
25         </servlet>
26       
27      <servlet-mapping>
28                 <servlet-name>WAYF</servlet-name>
29                 <url-pattern>/WAYF</url-pattern>
30         </servlet-mapping>
31         
32         <mime-mapping>
33                 <extension>css</extension>
34                 <mime-type>text/css</mime-type>
35         </mime-mapping>
36 </web-app>