summaryrefslogtreecommitdiff
path: root/src/main/webapp/WEB-INF/web.xml
blob: c264d13c316f2cee312963b626b843b012c20f8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>

	<servlet>
		<servlet-name>WAYF</servlet-name>
		<display-name>Shibboleth WAYF Service</display-name>
		<servlet-class>edu.internet2.middleware.shibboleth.wayf.WayfService</servlet-class>
		<init-param>
			<param-name>WAYFConfigFileLocation</param-name>
			<param-value>$DS_HOME$/wayfconfig.xml</param-value>
		</init-param>
		<init-param>
			<param-name>WAYFLogConfig</param-name>
			<param-value>$DS_HOME$/logging.xml</param-value>
		</init-param>
        <init-param>
            <param-name>WAYFLogConfigPollFrequency</param-name>
            <param-value>300000</param-value>
        </init-param>
	</servlet>

<!-- We specify two mappings - old style http:/host/shibboleth-wayf/WAYF/ and the new style
     whereby the precise name influences the behavior.  See the configuration file for 
     examples -->

	<servlet-mapping>
		<servlet-name>WAYF</servlet-name>
		<url-pattern>/WAYF</url-pattern>
	</servlet-mapping>

	<servlet-mapping>
		<servlet-name>WAYF</servlet-name>
		<url-pattern>*.wayf</url-pattern>
	</servlet-mapping>

	<mime-mapping>
		<extension>css</extension>
		<mime-type>text/css</mime-type>
	</mime-mapping>
</web-app>