1be00242916a44af9cd980db2347a4b827d38dab
[java-idp.git] / webAppConfig / origin.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
108                 <init-param>
109                     <param-name>arpFactoryMethod</param-name>
110                     <param-value>file</param-value>
111                 </init-param>
112
113         </servlet>
114       
115      <servlet-mapping>
116                 <servlet-name>HS</servlet-name>
117                 <url-pattern>/HS</url-pattern>
118         </servlet-mapping>
119         <servlet-mapping>
120                 <servlet-name>AA</servlet-name>
121                 <url-pattern>/AA</url-pattern>
122         </servlet-mapping>
123         
124         <mime-mapping>
125                 <extension>css</extension>
126                 <mime-type>text/css</mime-type>
127         </mime-mapping>
128 </web-app>