Updated example deployment descriptors to use new logging systems.
[java-idp.git] / webAppConfig / origin-client-cert.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
9         <filter>
10                 <filter-name>Client Cert AuthN Filter</filter-name>
11                 <filter-class>
12                         edu.internet2.middleware.shibboleth.utils.ClientCertTrustFilter
13                 </filter-class>
14                 <init-param>
15                         <param-name>regex</param-name>
16                         <param-value>.*CN=([^,/]+).*</param-value>
17                 </init-param>
18                                 <init-param>
19                         <param-name>matchGroup</param-name>
20                         <param-value>1</param-value>
21                 </init-param>
22         </filter>
23
24         <filter-mapping>
25                 <filter-name>Client Cert AuthN Filter</filter-name>
26                 <url-pattern>/HS</url-pattern>
27         </filter-mapping>
28         
29         <context-param>
30                 <param-name>OriginConfigFile</param-name>
31                 <param-value>/conf/origin.xml</param-value>
32         </context-param>
33
34         <listener> 
35                 <listener-class>edu.internet2.middleware.shibboleth.log.LoggingContextListener</listener-class> 
36         </listener>
37
38         <servlet>
39                 <servlet-name>HS</servlet-name>
40                 <display-name>Shibboleth Handle Service</display-name>
41                 <servlet-class>edu.internet2.middleware.shibboleth.hs.HandleServlet</servlet-class>
42         </servlet>
43         <servlet>
44                 <servlet-name>AA</servlet-name>
45                 <display-name>Shibboleth Attribute Authority</display-name>
46                 <servlet-class>edu.internet2.middleware.shibboleth.aa.AAServlet</servlet-class>
47         </servlet>
48
49         <servlet-mapping>
50                 <servlet-name>HS</servlet-name>
51                 <url-pattern>/HS</url-pattern>
52         </servlet-mapping>
53         <servlet-mapping>
54                 <servlet-name>AA</servlet-name>
55                 <url-pattern>/AA</url-pattern>
56         </servlet-mapping>
57
58         <mime-mapping>
59                 <extension>css</extension>
60                 <mime-type>text/css</mime-type>
61         </mime-mapping>
62         
63 </web-app>