41e987937d3be4ab449f5532d337e99dbf1ab0ad
[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         <servlet>
9                 <servlet-name>Logging Service</servlet-name>
10                 <servlet-class>edu.internet2.middleware.shibboleth.log.LogServ</servlet-class>
11                 <init-param>
12                         <param-name>log4jConfigFileLocation</param-name>
13                         <param-value>/WEB-INF/conf/log4j.properties</param-value>
14                 </init-param>
15                 <load-on-startup>1</load-on-startup>
16         </servlet>
17         <servlet>
18                 <servlet-name>HS</servlet-name>
19                 <display-name>Shibboleth Handle Service</display-name>
20                 <servlet-class>edu.internet2.middleware.shibboleth.hs.HandleServlet</servlet-class>
21                 <init-param>
22                         <param-name>domain</param-name>
23                         <param-value>demo.edu</param-value>
24                 </init-param>
25                 <init-param>
26                         <param-name>HSname</param-name>
27                         <param-value>shib2.internet2.edu</param-value>
28                 </init-param>
29                 <init-param>
30                         <param-name>ticket</param-name>
31                         <param-value>1400000</param-value>
32                 </init-param>
33                 <init-param>
34                         <param-name>repository</param-name>
35                         <param-value>MEMORY</param-value>
36                 </init-param>
37                 <init-param>
38                           <param-name>AAurl</param-name>
39                           <param-value>https://shib2.internet2.edu/shibboleth-origin/servlet/AA</param-value>
40                 </init-param>
41                 <init-param>
42                         <param-name>DBdriver</param-name>
43                         <param-value>org.gjt.mm.mysql.Driver</param-value>
44                 </init-param>
45                 <init-param>
46                         <param-name>DBuser</param-name>
47                         <param-value>shib</param-value>
48                 </init-param>
49                 <init-param>
50                         <param-name>DBpass</param-name>
51                         <param-value>shib</param-value>
52                 </init-param>
53                 <init-param>
54                         <param-name>DBdomain</param-name>
55                         <param-value>shib2.internet2.edu</param-value>
56                 </init-param>
57                 <init-param>
58                         <param-name>KSpath</param-name>
59                         <param-value>/WEB-INF/conf/keystore.jks</param-value>
60                 </init-param>
61                 <init-param>
62                         <param-name>KSpass</param-name>
63                         <param-value>shibhs</param-value>
64                 </init-param>
65                 <init-param>
66                         <param-name>KSkeyalias</param-name>
67                         <param-value>shibhs</param-value>
68                 </init-param>
69                 <init-param>
70                         <param-name>KSkeypass</param-name>
71                         <param-value>shibhs</param-value>
72                 </init-param>
73                 <init-param>
74                         <param-name>certalias</param-name>
75                         <param-value>shibhs</param-value>
76                 </init-param>
77         </servlet>
78         <servlet>
79                 <servlet-name>AA</servlet-name>
80                 <display-name>Shibboleth Attribute Authority</display-name>
81                 <servlet-class>edu.internet2.middleware.shibboleth.aa.AAServlet</servlet-class>
82                 
83                 <init-param>
84                     <param-name>domain</param-name>
85                     <param-value>shib2.internet2.edu</param-value>
86                 </init-param>
87
88                 <init-param>
89                     <param-name>dirUrl</param-name>
90                     <param-value>ldap://shib2.internet2.edu/ou=People,dc=internet2,dc=edu</param-value>
91                 </init-param>
92
93                 <init-param>
94                     <param-name>ldapUserDnPhrase</param-name>
95                     <param-value>uid=</param-value>
96                 </init-param>
97
98                 <init-param>
99                     <param-name>ctxFactoryClass</param-name>
100                     <param-value>edu.internet2.middleware.shibboleth.aaLocal.EchoCtxFactory</param-value>
101                 </init-param>
102
103                 <init-param>
104                     <param-name>arpFactoryMethod</param-name>
105                     <param-value>file</param-value>
106                 </init-param>
107
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         </servlet>
114         <servlet>
115                 <servlet-name>WAYFTester</servlet-name>
116                 <display-name>Simple servlet for testing WAYF functionality</display-name>
117                 <servlet-class>edu.internet2.middleware.shibboleth.wayf.WayfTester</servlet-class>
118         </servlet>
119         <servlet>
120                 <servlet-name>SHIRE</servlet-name>
121                 <display-name>Shibboleth SHIRE Component</display-name>
122                 <servlet-class>edu.internet2.middleware.shibboleth.shire.ShireServlet</servlet-class>
123         <init-param>
124                 <param-name>cookie-name</param-name>
125                 <param-value>shib_shib1</param-value>
126         </init-param>
127         <init-param>
128                 <param-name>session-dir</param-name>
129                 <param-value>/tmp/shiresessions</param-value>
130         </init-param>
131         <init-param>
132                 <param-name>ssl-only</param-name>
133                 <param-value>true</param-value>
134         </init-param>
135         <init-param>
136                 <param-name>check-address</param-name>
137                 <param-value>true</param-value>
138         </init-param>
139         <init-param>
140                 <param-name>verbose</param-name>
141                 <param-value>true</param-value>
142         </init-param>
143         <init-param>
144                 <param-name>keystore-path</param-name>
145                 <param-value>/WEB-INF/conf/roots.jks</param-value>
146         </init-param>
147         <init-param>
148                 <param-name>keystore-alias</param-name>
149                 <param-value>internet2</param-value>
150         </init-param>
151         <init-param>
152                 <param-name>keystore-password</param-name>
153                 <param-value>shibboleth</param-value>
154         </init-param>
155         <init-param>
156                 <param-name>registry-uri</param-name>
157                 <param-value>http://newman.uts.ohio-state.edu/shibsites.xml</param-value>
158         </init-param>
159         </servlet>
160         
161      <servlet-mapping>
162                 <servlet-name>WAYF</servlet-name>
163                 <url-pattern>/WAYF</url-pattern>
164         </servlet-mapping>
165         <servlet-mapping>
166                 <servlet-name>WAYFTester</servlet-name>
167                 <url-pattern>/WAYFTester</url-pattern>
168         </servlet-mapping>  
169      <servlet-mapping>
170                 <servlet-name>HS</servlet-name>
171                 <url-pattern>/HS</url-pattern>
172         </servlet-mapping>
173         <servlet-mapping>
174                 <servlet-name>AA</servlet-name>
175                 <url-pattern>/AA</url-pattern>
176         </servlet-mapping>
177         <servlet-mapping>
178                 <servlet-name>SHIRE</servlet-name>
179                 <url-pattern>/SHIRE</url-pattern>
180         </servlet-mapping>
181         
182         <mime-mapping>
183                 <extension>css</extension>
184                 <mime-type>text/css</mime-type>
185         </mime-mapping>
186 </web-app>