Replaced by new C++ implementation.
[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         </servlet>
108         <servlet>
109                 <servlet-name>WAYF</servlet-name>
110                 <display-name>Shibboleth WAYF Service</display-name>
111                 <servlet-class>edu.internet2.middleware.shibboleth.wayf.WayfService</servlet-class>
112                 <init-param>
113                     <param-name>SiteConfigFileLocation</param-name>
114                     <param-value>/sites.xml</param-value>
115                 </init-param>
116         </servlet>
117         <servlet>
118                 <servlet-name>WAYFTester</servlet-name>
119                 <display-name>Simple servlet for testing WAYF functionality</display-name>
120                 <servlet-class>edu.internet2.middleware.shibboleth.wayf.WayfTester</servlet-class>
121         </servlet>
122         <servlet>
123                 <servlet-name>SHIRE</servlet-name>
124                 <display-name>Shibboleth SHIRE Component</display-name>
125                 <servlet-class>edu.internet2.middleware.shibboleth.shire.ShireServlet</servlet-class>
126         <init-param>
127                 <param-name>cookie-name</param-name>
128                 <param-value>shib_shib1</param-value>
129         </init-param>
130         <init-param>
131                 <param-name>session-dir</param-name>
132                 <param-value>/tmp/shiresessions</param-value>
133         </init-param>
134         <init-param>
135                 <param-name>ssl-only</param-name>
136                 <param-value>true</param-value>
137         </init-param>
138         <init-param>
139                 <param-name>check-address</param-name>
140                 <param-value>true</param-value>
141         </init-param>
142         <init-param>
143                 <param-name>verbose</param-name>
144                 <param-value>true</param-value>
145         </init-param>
146         <init-param>
147                 <param-name>keystore-path</param-name>
148                 <param-value>/WEB-INF/conf/roots.jks</param-value>
149         </init-param>
150         <init-param>
151                 <param-name>keystore-alias</param-name>
152                 <param-value>internet2</param-value>
153         </init-param>
154         <init-param>
155                 <param-name>keystore-password</param-name>
156                 <param-value>shibboleth</param-value>
157         </init-param>
158         <init-param>
159                 <param-name>registry-uri</param-name>
160                 <param-value>http://shib1.internet2.edu:8000/shibboleth-target/sites.xml</param-value>
161         </init-param>
162         </servlet>
163         
164      <servlet-mapping>
165                 <servlet-name>WAYF</servlet-name>
166                 <url-pattern>/WAYF</url-pattern>
167         </servlet-mapping>
168         <servlet-mapping>
169                 <servlet-name>WAYFTester</servlet-name>
170                 <url-pattern>/WAYFTester</url-pattern>
171         </servlet-mapping>  
172      <servlet-mapping>
173                 <servlet-name>HS</servlet-name>
174                 <url-pattern>/HS</url-pattern>
175         </servlet-mapping>
176         <servlet-mapping>
177                 <servlet-name>AA</servlet-name>
178                 <url-pattern>/AA</url-pattern>
179         </servlet-mapping>
180         <servlet-mapping>
181                 <servlet-name>SHIRE</servlet-name>
182                 <url-pattern>/SHIRE</url-pattern>
183         </servlet-mapping>
184         
185         <mime-mapping>
186                 <extension>css</extension>
187                 <mime-type>text/css</mime-type>
188         </mime-mapping>
189 </web-app>