Changed default HS domain to example.edu
[java-idp.git] / webAppConfig / origin.xml
index ca91d92..95bc052 100755 (executable)
@@ -5,13 +5,43 @@
     "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
 
 <web-app>
+       <context-param>
+               <param-name>DBdriver</param-name>
+               <param-value>org.gjt.mm.mysql.Driver</param-value>
+       </context-param>
+       <context-param>
+               <param-name>DBuser</param-name>
+               <param-value>shib</param-value>
+       </context-param>
+       <context-param>
+               <param-name>DBpass</param-name>
+               <param-value>shib</param-value>
+       </context-param>
+       <context-param>
+               <param-name>DBdomain</param-name>
+               <param-value>shib2.internet2.edu</param-value>
+       </context-param>
+       <context-param>
+               <param-name>repository</param-name>
+               <param-value>MEMORY</param-value>
+       </context-param>
+
+       <servlet>
+               <servlet-name>Logging Service</servlet-name>
+               <servlet-class>edu.internet2.middleware.shibboleth.log.LogServ</servlet-class>
+               <init-param>
+                       <param-name>log4jConfigFileLocation</param-name>
+                       <param-value>/WEB-INF/conf/log4j.properties</param-value>
+               </init-param>
+               <load-on-startup>1</load-on-startup>
+       </servlet>
        <servlet>
                <servlet-name>HS</servlet-name>
                <display-name>Shibboleth Handle Service</display-name>
                <servlet-class>edu.internet2.middleware.shibboleth.hs.HandleServlet</servlet-class>
                <init-param>
                        <param-name>domain</param-name>
-                       <param-value>internet2.edu</param-value>
+                       <param-value>example.edu</param-value>
                </init-param>
                <init-param>
                        <param-name>HSname</param-name>
                </init-param>
                <init-param>
                          <param-name>AAurl</param-name>
-                         <param-value>https://shib2.internet2.edu/shibb/servlet/AAServlet</param-value>
-               </init-param>
-               <init-param>
-                       <param-name>DBdriver</param-name>
-                       <param-value>org.gjt.mm.mysql.Driver</param-value>
-               </init-param>
-               <init-param>
-                       <param-name>DBdriver</param-name>
-                       <param-value>org.gjt.mm.mysql.Driver</param-value>
-               </init-param>
-               <init-param>
-                       <param-name>DBuser</param-name>
-                       <param-value>shib</param-value>
-               </init-param>
-               <init-param>
-                       <param-name>DBpass</param-name>
-                       <param-value>shib</param-value>
-               </init-param>
-               <init-param>
-                       <param-name>DBdomain</param-name>
-                       <param-value>shib2.internet2.edu</param-value>
+                         <param-value>https://shib2.internet2.edu/shibboleth-origin/servlet/AA</param-value>
                </init-param>
                <init-param>
                        <param-name>KSpath</param-name>
-                       <param-value>/home/blk/.keystore</param-value>
+                       <param-value>/WEB-INF/conf/keystore.jks</param-value>
                </init-param>
                <init-param>
                        <param-name>KSpass</param-name>
                <servlet-name>AA</servlet-name>
                <display-name>Shibboleth Attribute Authority</display-name>
                <servlet-class>edu.internet2.middleware.shibboleth.aa.AAServlet</servlet-class>
+               
+               <init-param>
+                   <param-name>domain</param-name>
+                   <param-value>shib2.internet2.edu</param-value>
+               </init-param>
+
+               <init-param>
+                   <param-name>dirUrl</param-name>
+                   <param-value>ldap://shib2.internet2.edu/ou=People,dc=internet2,dc=edu</param-value>
+               </init-param>
+
+               <init-param>
+                   <param-name>ldapUserDnPhrase</param-name>
+                   <param-value>uid=</param-value>
+               </init-param>
+
+               <init-param>
+                   <param-name>ctxFactoryClass</param-name>
+                   <param-value>edu.internet2.middleware.shibboleth.aaLocal.EchoCtxFactory</param-value>
+               </init-param>
+
+               <init-param>
+                   <param-name>arpFactoryMethod</param-name>
+                   <param-value>file</param-value>
+               </init-param>
+
        </servlet>
       
      <servlet-mapping>