Listener for user session timeouts
[java-idp.git] / WEB-INF / dist.idp-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
9         <context-param>
10         <param-name>IdPConfigFile</param-name>
11         <param-value>$IDP_HOME$/etc/idp.xml</param-value>
12     </context-param>
13
14     <servlet>
15         <servlet-name>IdP</servlet-name>
16         <display-name>Shibboleth Identity Provider</display-name>
17         <servlet-class>edu.internet2.middleware.shibboleth.idp.IdPResponder</servlet-class>
18     </servlet>
19
20     <servlet-mapping>
21         <servlet-name>IdP</servlet-name>
22         <url-pattern>/SSO</url-pattern>
23     </servlet-mapping>
24     <servlet-mapping>
25         <servlet-name>IdP</servlet-name>
26         <url-pattern>/AA</url-pattern>
27     </servlet-mapping>
28     <servlet-mapping>
29         <servlet-name>IdP</servlet-name>
30         <url-pattern>/Artifact</url-pattern>
31     </servlet-mapping>
32     <servlet-mapping>
33         <servlet-name>IdP</servlet-name>
34         <url-pattern>/Status</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 SSO Service</web-resource-name>
45                         <url-pattern>/SSO</url-pattern>
46                 </web-resource-collection>
47                 <auth-constraint>
48                         <role-name>tomcat</role-name>
49                 </auth-constraint>
50         </security-constraint>
51
52         <login-config>
53                 <auth-method>BASIC</auth-method>
54                 <realm-name>Shibboleth SSO Service</realm-name>
55         </login-config>
56
57         <security-role>
58         <description>default tomcat user</description>
59         <role-name>tomcat</role-name>
60     </security-role>
61 </web-app>