summaryrefslogtreecommitdiff
path: root/src/main/webapp/WEB-INF/web.xml
blob: c938b16daf4775380c43a79521bba8d92bf5ad7c (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
46
47
48
49
50
51
52
53
54
55
<?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$/conf/wayfconfig.xml</param-value>
		</init-param>
		<init-param>
			<param-name>WAYFLogConfig</param-name>
			<param-value>$DS_HOME$/conf/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>

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

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

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