Properly build WAR and install $IDP_HOME
[java-idp.git] / resources / WEB-INF / web.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4     xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
5     version="2.4">
6
7     <display-name>Shibboleth $IDP_VERSION$ Identity Provider</display-name>
8
9     <!--
10         Spring 2.0 application context files.  Files are loaded in the order they appear with subsequent files 
11         overwritting same named beans in previous files.
12     -->
13     <context-param>
14         <param-name>contextConfigLocation</param-name>
15         <param-value>
16             file://$IDP_HOME$/conf/internal.xml;
17             file://$IDP_HOME$/conf/service.xml;
18         </param-value>
19     </context-param>
20
21     <!-- 
22         Spring 2.0 listener used to load up the configuration
23     -->
24     <listener>
25         <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
26     </listener>
27
28     <!-- 
29         Session time inactivity timeout, in minutes.
30         
31         A timeout of 0 or less means the session never timesout.  Such a setting is strongly discouraged and will 
32         almost certainly lead to memory exhaustion under moderate to heavy loads or in servers with prolonged uptime.
33     -->
34     <session-config>
35         <session-timeout>30</session-timeout>
36     </session-config>
37
38     <!--
39         Profile Request Dispatcher
40     -->
41     <servlet>
42         <servlet-name>ProfileRequestDispatcher</servlet-name>
43         <servlet-class>
44             edu.internet2.middleware.shibboleth.idp.profile.ShibbolethProfileRequestDispatcher
45         </servlet-class>
46     </servlet>
47
48     <servlet-mapping>
49         <servlet-name>ProfileRequestDispatcher</servlet-name>
50         <url-pattern>/profile/*</url-pattern>
51     </servlet-mapping>
52
53     <!--
54         Authentication Manager
55     -->
56     <!--
57         <servlet>
58         <servlet-name>AuthenticationManager</servlet-name>
59         <servlet-class>edu.internet2.middleware.shibboleth.idp.authn.AuthenticationManager</servlet-class>
60         </servlet>
61         
62         <servlet-mapping>
63         <servlet-name>AuthenticationManager</servlet-name>
64         <url-pattern>/IdP/Authn</url-pattern>
65         </servlet-mapping>
66     -->
67
68 </web-app>