Changed default HS domain to example.edu
[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         </servlet>
79         <servlet>
80                 <servlet-name>AA</servlet-name>
81                 <display-name>Shibboleth Attribute Authority</display-name>
82                 <servlet-class>edu.internet2.middleware.shibboleth.aa.AAServlet</servlet-class>
83                 
84                 <init-param>
85                     <param-name>domain</param-name>
86                     <param-value>shib2.internet2.edu</param-value>
87                 </init-param>
88
89                 <init-param>
90                     <param-name>dirUrl</param-name>
91                     <param-value>ldap://shib2.internet2.edu/ou=People,dc=internet2,dc=edu</param-value>
92                 </init-param>
93
94                 <init-param>
95                     <param-name>ldapUserDnPhrase</param-name>
96                     <param-value>uid=</param-value>
97                 </init-param>
98
99                 <init-param>
100                     <param-name>ctxFactoryClass</param-name>
101                     <param-value>edu.internet2.middleware.shibboleth.aaLocal.EchoCtxFactory</param-value>
102                 </init-param>
103
104                 <init-param>
105                     <param-name>arpFactoryMethod</param-name>
106                     <param-value>file</param-value>
107                 </init-param>
108         </servlet>
109         <servlet>
110                 <servlet-name>WAYF</servlet-name>
111                 <display-name>Shibboleth WAYF Service</display-name>
112                 <servlet-class>edu.internet2.middleware.shibboleth.wayf.WayfService</servlet-class>
113                 <init-param>
114                     <param-name>SiteConfigFileLocation</param-name>
115                     <param-value>/sites.xml</param-value>
116                 </init-param>
117         </servlet>
118         <servlet>
119                 <servlet-name>WAYFTester</servlet-name>
120                 <display-name>Simple servlet for testing WAYF functionality</display-name>
121                 <servlet-class>edu.internet2.middleware.shibboleth.wayf.WayfTester</servlet-class>
122         </servlet>
123         <servlet>
124                 <servlet-name>SHIRE</servlet-name>
125                 <display-name>Shibboleth SHIRE Component</display-name>
126                 <servlet-class>edu.internet2.middleware.shibboleth.shire.ShireServlet</servlet-class>
127         <init-param>
128                 <param-name>cookie-name</param-name>
129                 <param-value>shib_shib1</param-value>
130         </init-param>
131         <init-param>
132                 <param-name>session-dir</param-name>
133                 <param-value>/tmp/shiresessions</param-value>
134         </init-param>
135         <init-param>
136                 <param-name>ssl-only</param-name>
137                 <param-value>true</param-value>
138         </init-param>
139         <init-param>
140                 <param-name>check-address</param-name>
141                 <param-value>true</param-value>
142         </init-param>
143         <init-param>
144                 <param-name>verbose</param-name>
145                 <param-value>true</param-value>
146         </init-param>
147         <init-param>
148                 <param-name>keystore-path</param-name>
149                 <param-value>/WEB-INF/conf/roots.jks</param-value>
150         </init-param>
151         <init-param>
152                 <param-name>keystore-alias</param-name>
153                 <param-value>internet2</param-value>
154         </init-param>
155         <init-param>
156                 <param-name>keystore-password</param-name>
157                 <param-value>shibboleth</param-value>
158         </init-param>
159         <init-param>
160                 <param-name>registry-uri</param-name>
161                 <param-value>http://shib1.internet2.edu:8000/shibboleth-target/sites.xml</param-value>
162         </init-param>
163         </servlet>
164         
165      <servlet-mapping>
166                 <servlet-name>WAYF</servlet-name>
167                 <url-pattern>/WAYF</url-pattern>
168         </servlet-mapping>
169         <servlet-mapping>
170                 <servlet-name>WAYFTester</servlet-name>
171                 <url-pattern>/WAYFTester</url-pattern>
172         </servlet-mapping>  
173      <servlet-mapping>
174                 <servlet-name>HS</servlet-name>
175                 <url-pattern>/HS</url-pattern>
176         </servlet-mapping>
177         <servlet-mapping>
178                 <servlet-name>AA</servlet-name>
179                 <url-pattern>/AA</url-pattern>
180         </servlet-mapping>
181         <servlet-mapping>
182                 <servlet-name>SHIRE</servlet-name>
183                 <url-pattern>/SHIRE</url-pattern>
184         </servlet-mapping>
185         
186         <mime-mapping>
187                 <extension>css</extension>
188                 <mime-type>text/css</mime-type>
189         </mime-mapping>
190 </web-app>