*** empty log message ***
[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       
17      <servlet-mapping>
18                 <servlet-name>HS</servlet-name>
19                 <url-pattern>/HS</url-pattern>
20         </servlet-mapping>
21         <mime-mapping>
22                 <extension>css</extension>
23                 <mime-type>text/css</mime-type>
24         </mime-mapping>
25
26         <security-constraint>
27                 <web-resource-collection>
28                         <web-resource-name>HS Login Test</web-resource-name>
29                         <url-pattern>/HS</url-pattern>
30                 </web-resource-collection>
31         <auth-constraint>
32                         <role-name>tomcat</role-name>
33                 </auth-constraint>
34         </security-constraint>
35
36         <login-config>
37                 <auth-method>BASIC</auth-method>
38                 <realm-name>HS Login Test</realm-name>
39         </login-config>
40
41 </web-app>