2b82fa9046a517d12da2f2ee3b1470a5e996e0ec
[java-idp.git] / webApplication / WEB-INF / web.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>
10           HS
11                 </servlet-name>
12                 <servlet-class>
13           edu.internet2.middleware.shibboleth.hs.HandleService
14                 </servlet-class>
15         </servlet>
16         <servlet>
17                         <servlet-name>WAYFTester</servlet-name>
18                         <display-name>WAYF Tester</display-name>
19                         <servlet-class>edu.internet2.middleware.shibboleth.wayf.WayfTester</servlet-class>
20         </servlet>
21         <servlet>
22                 <servlet-name>WAYF</servlet-name>
23                 <display-name>WAYF</display-name>
24                 <servlet-class>edu.internet2.middleware.shibboleth.wayf.WayfService</servlet-class>
25                 <init-param>
26                         <param-name>WAYFConfigFileLocation</param-name>
27                         <param-value>/WEB-INF/conf/shibboleth.xml</param-value>
28                 </init-param>
29         </servlet>
30       
31      <servlet-mapping>
32                 <servlet-name>HS</servlet-name>
33                 <url-pattern>/HS</url-pattern>
34         </servlet-mapping>
35         <servlet-mapping>
36                 <servlet-name>WAYFTester</servlet-name>
37                 <url-pattern>Test</url-pattern>
38         </servlet-mapping>
39         <servlet-mapping>
40                 <servlet-name>WAYF</servlet-name>
41                 <url-pattern>WAYF</url-pattern>
42         </servlet-mapping>
43         
44         <mime-mapping>
45                 <extension>css</extension>
46                 <mime-type>text/css</mime-type>
47         </mime-mapping>
48
49         <security-constraint>
50                 <web-resource-collection>
51                         <web-resource-name>HS Login Test</web-resource-name>
52                         <url-pattern>/HS</url-pattern>
53                 </web-resource-collection>
54         <auth-constraint>
55                         <role-name>tomcat</role-name>
56                 </auth-constraint>
57         </security-constraint>
58
59         <login-config>
60                 <auth-method>BASIC</auth-method>
61                 <realm-name>HS Login Test</realm-name>
62         </login-config>
63
64 </web-app>