caa6dd5e86b27d78cd9ea486a7731f0b7568555e
[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         <servlet>
9                 <servlet-name>HS</servlet-name>
10                 <display-name>Shibboleth Handle Service</display-name>
11                 <servlet-class>edu.internet2.middleware.shibboleth.hs.HandleServlet</servlet-class>
12                 <init-param>
13                         <param-name>domain</param-name>
14                         <param-value>demo.edu</param-value>
15                 </init-param>
16                 <init-param>
17                         <param-name>HSname</param-name>
18                         <param-value>shib2.internet2.edu</param-value>
19                 </init-param>
20                 <init-param>
21                         <param-name>ticket</param-name>
22                         <param-value>1400000</param-value>
23                 </init-param>
24                 <init-param>
25                           <param-name>AAurl</param-name>
26                           <param-value>https://shib2.internet2.edu/shibboleth-origin/servlet/AA</param-value>
27                 </init-param>
28                 <init-param>
29                         <param-name>DBdriver</param-name>
30                         <param-value>org.gjt.mm.mysql.Driver</param-value>
31                 </init-param>
32                 <init-param>
33                         <param-name>DBuser</param-name>
34                         <param-value>shib</param-value>
35                 </init-param>
36                 <init-param>
37                         <param-name>DBpass</param-name>
38                         <param-value>shib</param-value>
39                 </init-param>
40                 <init-param>
41                         <param-name>DBdomain</param-name>
42                         <param-value>shib2.internet2.edu</param-value>
43                 </init-param>
44                 <init-param>
45                         <param-name>KSpath</param-name>
46                         <param-value>/WEB-INF/conf/keystore.jks</param-value>
47                 </init-param>
48                 <init-param>
49                         <param-name>KSpass</param-name>
50                         <param-value>shibhs</param-value>
51                 </init-param>
52                 <init-param>
53                         <param-name>KSkeyalias</param-name>
54                         <param-value>shibhs</param-value>
55                 </init-param>
56                 <init-param>
57                         <param-name>KSkeypass</param-name>
58                         <param-value>shibhs</param-value>
59                 </init-param>
60                 <init-param>
61                         <param-name>certalias</param-name>
62                         <param-value>shibhs</param-value>
63                 </init-param>
64         </servlet>
65         <servlet>
66                 <servlet-name>AA</servlet-name>
67                 <display-name>Shibboleth Attribute Authority</display-name>
68                 <servlet-class>edu.internet2.middleware.shibboleth.aa.AAServlet</servlet-class>
69                 
70                 <init-param>
71                     <param-name>domain</param-name>
72                     <param-value>shib2.internet2.edu</param-value>
73                 </init-param>
74
75                 <init-param>
76                     <param-name>dirUrl</param-name>
77                     <param-value>ldap://shib2.internet2.edu/ou=People,dc=internet2,dc=edu</param-value>
78                 </init-param>
79
80                 <init-param>
81                     <param-name>ldapUserDnPhrase</param-name>
82                     <param-value>uid=</param-value>
83                 </init-param>
84
85                 <init-param>
86                     <param-name>ctxFactoryClass</param-name>
87                     <param-value>edu.internet2.middleware.shibboleth.aaLocal.EchoCtxFactory</param-value>
88                 </init-param>
89
90                 <init-param>
91                     <param-name>arpFactoryMethod</param-name>
92                     <param-value>file</param-value>
93                 </init-param>
94
95                 <init-param>
96                     <param-name>arpFactoryData</param-name>
97                     <param-value>/tmp/shib2/</param-value>
98                 </init-param>
99         </servlet>
100       
101      <servlet-mapping>
102                 <servlet-name>HS</servlet-name>
103                 <url-pattern>/HS</url-pattern>
104         </servlet-mapping>
105         <servlet-mapping>
106                 <servlet-name>AA</servlet-name>
107                 <url-pattern>/AA</url-pattern>
108         </servlet-mapping>
109         
110         <mime-mapping>
111                 <extension>css</extension>
112                 <mime-type>text/css</mime-type>
113         </mime-mapping>
114 </web-app>