Make eclipse metadata reflect current JAXP config.
[java-idp.git] / webAppConfig / dist.sp.xml
1 <?xml version="1.1" 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 <!--  A Servlet deployment descriptor (WEB-INF/web.xml) file
8         defining Servlets, Filters, and Listeners for a /shibboleth
9         context containing both an IdP and an SP.  
10 -->
11
12 <web-app>
13
14         <display-name>Shibboleth SP</display-name>
15         
16         <context-param>
17                 <param-name>ServiceProviderConfigFile</param-name>
18                 <param-value>$SP_HOME$/etc/sp.xml</param-value>
19         </context-param>
20         <context-param>
21                 <param-name>InitializationLog</param-name>
22                 <param-value>$SP_HOME$/logs/sp-init.log</param-value>
23         </context-param>
24         
25         <filter>
26                 <!-- Gather log data in a per-request in memory buffer
27                          Requires /showlog Servlet to return log data to client
28                 -->
29                 <filter-name>RequestLogFilter</filter-name>
30                 <filter-class>
31                         edu.internet2.middleware.commons.log4j.RequestLoggingFilter
32                 </filter-class>
33         </filter>
34
35         <filter>
36                 <!-- You must create an instance of the Filter class in
37                          the /shibboleth application context to allow Filter-Support
38                          communication to other applications. 
39                          -->
40                 <filter-name>ShibFilter</filter-name>
41                 <filter-class>
42                         edu.internet2.middleware.shibboleth.resource.AuthenticationFilter
43                 </filter-class>
44         </filter>
45
46         <!-- Attach per-request in memory log data gathering to the 
47                  processing of the POST through the AssertionConsumer.
48         -->
49         <filter-mapping>
50                 <filter-name>RequestLogFilter</filter-name>
51                 <servlet-name>AssertionConsumer</servlet-name>
52         </filter-mapping>
53         
54         <listener>
55                 <listener-class>edu.internet2.middleware.shibboleth.serviceprovider.ContextListener
56                 </listener-class>
57         </listener>
58
59         <!-- Servlets for Shibboleth/SAML Protocol endpoints -->
60         <servlet>
61                 <!--  SP Assertion Consumer -->
62                 <servlet-name>AssertionConsumer</servlet-name>
63                 <display-name>Authentication Assertion Consumer</display-name>
64                 <servlet-class>
65                         edu.internet2.middleware.shibboleth.serviceprovider.AssertionConsumerServlet
66                 </servlet-class>
67                 <load-on-startup>1</load-on-startup>
68         </servlet>
69
70         <!-- Servlets for administrative functions -->
71         <servlet>
72                 <!-- Display in memory log data from the previous request
73                         from the same Browser. 
74                         Requires the RequestLogFilter to be installed and mapped. 
75                 -->
76                 <servlet-name>ShowLog</servlet-name>
77                 <display-name>Return log data</display-name>
78                 <servlet-class>
79                         edu.internet2.middleware.commons.log4j.ShowLog
80                 </servlet-class>
81         </servlet>
82
83         <!--  Mapping for SAML/Shibboleth protocol endpoints -->
84         <servlet-mapping>
85                 <servlet-name>AssertionConsumer</servlet-name>
86                 <url-pattern>/Shibboleth.sso/SAML/POST</url-pattern>
87         </servlet-mapping>
88
89         <!-- Mapping for administrative functions -->
90         <servlet-mapping>
91                 <servlet-name>ShowLog</servlet-name>
92                 <url-pattern>/showlog</url-pattern>
93         </servlet-mapping>
94
95         <mime-mapping>
96                 <extension>css</extension>
97                 <mime-type>text/css</mime-type>
98         </mime-mapping>
99         
100         
101
102 </web-app>