8f805c32d9f2e19ea8ebac1fc21e555275a56d68
[java-idp.git] / webApplication / WEB-INF / web.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <!DOCTYPE web-app
4     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
5     "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
6
7 <web-app>
8         <context-param>
9                 <param-name>DBdriver</param-name>
10                 <param-value>org.gjt.mm.mysql.Driver</param-value>
11         </context-param>
12         <context-param>
13                 <param-name>DBuser</param-name>
14                 <param-value>shib</param-value>
15         </context-param>
16         <context-param>
17                 <param-name>DBpass</param-name>
18                 <param-value>shib</param-value>
19         </context-param>
20         <context-param>
21                 <param-name>DBdomain</param-name>
22                 <param-value>shib2.internet2.edu</param-value>
23         </context-param>
24         <context-param>
25                 <param-name>repository</param-name>
26                 <param-value>MEMORY</param-value>
27         </context-param>
28         
29         <servlet>
30                 <servlet-name>Logging Service</servlet-name>
31                 <servlet-class>edu.internet2.middleware.shibboleth.log.LogServ</servlet-class>
32                 <init-param>
33                         <param-name>log4jConfigFileLocation</param-name>
34                         <param-value>/WEB-INF/conf/log4j.properties</param-value>
35                 </init-param>
36                 <load-on-startup>1</load-on-startup>
37         </servlet>
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                 <init-param>
43                         <param-name>domain</param-name>
44                         <param-value>example.edu</param-value>
45                 </init-param>
46                 <init-param>
47                         <param-name>HSname</param-name>
48                         <param-value>shib2.internet2.edu</param-value>
49                 </init-param>
50                 <init-param>
51                         <param-name>ticket</param-name>
52                         <param-value>1400000</param-value>
53                 </init-param>
54                 <init-param>
55                           <param-name>AAurl</param-name>
56                           <param-value>https://shib2.internet2.edu/shibboleth-origin/servlet/AA</param-value>
57                 </init-param>
58                 <init-param>
59                         <param-name>KSpath</param-name>
60                         <param-value>/WEB-INF/conf/keystore.jks</param-value>
61                 </init-param>
62                 <init-param>
63                         <param-name>KSpass</param-name>
64                         <param-value>shibhs</param-value>
65                 </init-param>
66                 <init-param>
67                         <param-name>KSkeyalias</param-name>
68                         <param-value>shibhs</param-value>
69                 </init-param>
70                 <init-param>
71                         <param-name>KSkeypass</param-name>
72                         <param-value>shibhs</param-value>
73                 </init-param>
74                 <init-param>
75                         <param-name>certalias</param-name>
76                         <param-value>shibhs</param-value>
77                 </init-param>
78                 <init-param>
79                         <param-name>username</param-name>
80                         <param-value>REMOTE_USER</param-value>
81                 </init-param>
82         </servlet>
83         <servlet>
84                 <servlet-name>AA</servlet-name>
85                 <display-name>Shibboleth Attribute Authority</display-name>
86                 <servlet-class>edu.internet2.middleware.shibboleth.aa.AAServlet</servlet-class>
87                 
88                 <init-param>
89                     <param-name>domain</param-name>
90                     <param-value>shib2.internet2.edu</param-value>
91                 </init-param>
92
93                 <init-param>
94                     <param-name>dirUrl</param-name>
95                     <param-value>ldap://shib2.internet2.edu/ou=People,dc=internet2,dc=edu</param-value>
96                 </init-param>
97
98                 <init-param>
99                     <param-name>ldapUserDnPhrase</param-name>
100                     <param-value>uid=</param-value>
101                 </init-param>
102
103                 <init-param>
104                     <param-name>ctxFactoryClass</param-name>
105                     <param-value>edu.internet2.middleware.shibboleth.aaLocal.EchoCtxFactory</param-value>
106                 </init-param>
107                 <init-param>
108                     <param-name>arpFactoryMethod</param-name>
109                     <param-value>file</param-value>
110                 </init-param>
111         </servlet>
112         <servlet>
113                 <servlet-name>WAYF</servlet-name>
114                 <display-name>Shibboleth WAYF Service</display-name>
115                 <servlet-class>edu.internet2.middleware.shibboleth.wayf.WayfService</servlet-class>
116                 <init-param>
117                     <param-name>SiteConfigFileLocation</param-name>
118                     <param-value>/sites.xml</param-value>
119                 </init-param>
120         </servlet>
121         <servlet>
122                 <servlet-name>WAYFTester</servlet-name>
123                 <display-name>Simple servlet for testing WAYF functionality</display-name>
124                 <servlet-class>edu.internet2.middleware.shibboleth.wayf.WayfTester</servlet-class>
125         </servlet>
126         <servlet>
127                 <servlet-name>SHIRE</servlet-name>
128                 <display-name>Shibboleth SHIRE Component</display-name>
129                 <servlet-class>edu.internet2.middleware.shibboleth.shire.ShireServlet</servlet-class>
130         <init-param>
131                 <param-name>cookie-name</param-name>
132                 <param-value>shib_shib1</param-value>
133         </init-param>
134         <init-param>
135                 <param-name>session-dir</param-name>
136                 <param-value>/tmp/shiresessions</param-value>
137         </init-param>
138         <init-param>
139                 <param-name>ssl-only</param-name>
140                 <param-value>true</param-value>
141         </init-param>
142         <init-param>
143                 <param-name>check-address</param-name>
144                 <param-value>true</param-value>
145         </init-param>
146         <init-param>
147                 <param-name>verbose</param-name>
148                 <param-value>true</param-value>
149         </init-param>
150         <init-param>
151                 <param-name>keystore-path</param-name>
152                 <param-value>/WEB-INF/conf/roots.jks</param-value>
153         </init-param>
154         <init-param>
155                 <param-name>keystore-alias</param-name>
156                 <param-value>internet2</param-value>
157         </init-param>
158         <init-param>
159                 <param-name>keystore-password</param-name>
160                 <param-value>shibboleth</param-value>
161         </init-param>
162         <init-param>
163                 <param-name>registry-uri</param-name>
164                 <param-value>http://shib1.internet2.edu:8000/shibboleth-target/sites.xml</param-value>
165         </init-param>
166         </servlet>
167         
168      <servlet-mapping>
169                 <servlet-name>WAYF</servlet-name>
170                 <url-pattern>/WAYF</url-pattern>
171         </servlet-mapping>
172         <servlet-mapping>
173                 <servlet-name>WAYFTester</servlet-name>
174                 <url-pattern>/WAYFTester</url-pattern>
175         </servlet-mapping>  
176      <servlet-mapping>
177                 <servlet-name>HS</servlet-name>
178                 <url-pattern>/HS</url-pattern>
179         </servlet-mapping>
180         <servlet-mapping>
181                 <servlet-name>AA</servlet-name>
182                 <url-pattern>/AA</url-pattern>
183         </servlet-mapping>
184         <servlet-mapping>
185                 <servlet-name>SHIRE</servlet-name>
186                 <url-pattern>/SHIRE</url-pattern>
187         </servlet-mapping>
188         
189         <mime-mapping>
190                 <extension>css</extension>
191                 <mime-type>text/css</mime-type>
192         </mime-mapping>
193 </web-app>