*** empty log message ***
[java-idp.git] / webAppConfig / origin-container-security-example.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <!DOCTYPE web-app
4     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
5     "http://java.sun.com/dtd/web-app_2_3.dtd">
6
7 <web-app>
8         <context-param>
9                 <param-name>OriginConfigFile</param-name>
10                 <param-value>/conf/origin.xml</param-value>
11         </context-param>
12
13         <listener> 
14                 <listener-class>edu.internet2.middleware.shibboleth.log.LoggingContextListener</listener-class> 
15         </listener>
16
17         <servlet>
18                 <servlet-name>HS</servlet-name>
19                 <display-name>Shibboleth Handle Service</display-name>
20                 <servlet-class>edu.internet2.middleware.shibboleth.hs.HandleServlet</servlet-class>
21         </servlet>
22         <servlet>
23                 <servlet-name>AA</servlet-name>
24                 <display-name>Shibboleth Attribute Authority</display-name>
25                 <servlet-class>edu.internet2.middleware.shibboleth.aa.AAServlet</servlet-class>
26         </servlet>
27
28         <servlet-mapping>
29                 <servlet-name>HS</servlet-name>
30                 <url-pattern>/HS</url-pattern>
31         </servlet-mapping>
32         <servlet-mapping>
33                 <servlet-name>AA</servlet-name>
34                 <url-pattern>/AA</url-pattern>
35         </servlet-mapping>
36
37         <mime-mapping>
38                 <extension>css</extension>
39                 <mime-type>text/css</mime-type>
40         </mime-mapping>
41         
42         <security-constraint>
43                 <web-resource-collection>
44                         <web-resource-name>Shibboleth Handle Service</web-resource-name>
45                         <url-pattern>/HS</url-pattern>
46                 </web-resource-collection>
47                 <auth-constraint>
48                         <role-name>tomcat</role-name>
49                 </auth-constraint>
50         </security-constraint>
51         <login-config>
52                 <auth-method>BASIC</auth-method>
53                 <realm-name>Shibboleth Handle Service</realm-name>
54         </login-config>
55
56 </web-app>