Keep velocity from writting log files wherever the application starts up
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 13 Sep 2007 15:09:19 +0000 (15:09 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 13 Sep 2007 15:09:19 +0000 (15:09 +0000)
Simplify velocity engine configuration in IdP

git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2388 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

resources/conf/internal.xml
test/data/conf1/internal.xml

index 9c1cab3..61f9da0 100644 (file)
         <constructor-arg value="SHA1PRNG" />
     </bean>
 
-    <bean id="shibboleth.VelocityEngine" class="org.springframework.ui.velocity.VelocityEngineFactoryBean">
-        <property name="velocityProperties">
-            <props>
-                <prop key="resource.loader">classpath, string</prop>
-                <prop key="classpath.resource.loader.class">
-                    org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
-                </prop>
-                <prop key="string.resource.loader.class">
-                    org.apache.velocity.runtime.resource.loader.StringResourceLoader
-                </prop>
-            </props>
-        </property>
-    </bean>
+    <bean id="shibboleth.VelocityEngine" class="org.springframework.ui.velocity.VelocityEngineFactoryBean" />
 
     <bean id="shibboleth.TemplateEngine"
         class="edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.TemplateEngine">
index 09fe940..2978b1f 100644 (file)
         <constructor-arg value="SHA1PRNG" />
     </bean>
 
-    <bean id="shibboleth.VelocityEngine" class="org.springframework.ui.velocity.VelocityEngineFactoryBean">
-        <property name="velocityProperties">
-            <props>
-                <prop key="resource.loader">classpath, string</prop>
-                <prop key="classpath.resource.loader.class">
-                    org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
-                </prop>
-                <prop key="string.resource.loader.class">
-                    org.apache.velocity.runtime.resource.loader.StringResourceLoader
-                </prop>
-            </props>
-        </property>
-    </bean>
-
+    <bean id="shibboleth.VelocityEngine" class="org.springframework.ui.velocity.VelocityEngineFactoryBean" />
+    
     <bean id="shibboleth.TemplateEngine"
         class="edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.TemplateEngine">
         <constructor-arg ref="shibboleth.VelocityEngine" />