Properly build WAR and install $IDP_HOME
[java-idp.git] / resources / conf / internal.xml
index 2ea72df..330168b 100644 (file)
@@ -1,18 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
 <!-- 
-  This file contains advanced configuration options for the Identity Providers.
-  
-  DO NOT EDIT THIS FILE unless you're absolutely certain you understand what you are doing.
+    This file contains advanced configuration options for the Identity Providers.
+    
+    DO NOT EDIT THIS FILE unless you're absolutely certain you understand what you are doing.
 -->
 
-<beans xmlns="http://www.springframework.org/schema/beans"
-          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-          xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"
-          default-autowire="byType">
-  
-    <bean id="shibboleth.RequestDispatcher" class="edu.internet2.middleware.shibboleth.idp.profile">
-        <property name="handlerManager" ref="shibboleth.ProfileHandler" />
+<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"
+    default-autowire="byType">
+
+    <bean id="shibboleth.TaskTimer" class="java.util.Timer" destroy-method="cancel">
+        <constructor-arg value="true" type="boolean" />
+    </bean>
+
+    <bean id="shibboleth.ParserPool" class="org.opensaml.xml.parse.BasicParserPool">
+        <property name="maxPoolSize" value="50" />
+        <property name="createBuildersAtPoolLimit" value="true" />
+        <property name="coalescing" value="true" />
+        <property name="ignoreComments" value="true" />
+        <property name="ignoreElementContentWhitespace" value="true" />
+        <property name="namespaceAware" value="true" />
     </bean>
 
+    <bean id="shibboleth.ServletAttributeExporter"
+        class="org.springframework.web.context.support.ServletContextAttributeExporter">
+        <property name="attributes">
+            <map>
+                <entry>
+                    <key>
+                        <value>handlerManager</value>
+                    </key>
+                    <ref bean="shibboleth.ProfileHandler" />
+                </entry>
+            </map>
+        </property>
+    </bean>
+
+
 </beans>
\ No newline at end of file