[java-idp-testbed] branch main updated: Fix deprecated Velocity settings.

Scott Cantor cantor.2 at osu.edu
Tue Jun 13 14:01:40 UTC 2023


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository java-idp-testbed.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-testbed.git;a=commit;h=1fed5e83d9d8911417c6059f5d36c6f5436eac74

The following commit(s) were added to refs/heads/main by this push:
     new 1fed5e8  Fix deprecated Velocity settings.
1fed5e8 is described below

commit 1fed5e83d9d8911417c6059f5d36c6f5436eac74
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jun 13 10:01:37 2023 -0400

    Fix deprecated Velocity settings.
---
 src/main/resources/system/conf/testbed-opensaml.xml | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/src/main/resources/system/conf/testbed-opensaml.xml b/src/main/resources/system/conf/testbed-opensaml.xml
index fc4a623..e602916 100644
--- a/src/main/resources/system/conf/testbed-opensaml.xml
+++ b/src/main/resources/system/conf/testbed-opensaml.xml
@@ -49,26 +49,24 @@
     <bean id="shibboleth.VelocityEngine" class="net.shibboleth.shared.spring.velocity.VelocityEngineFactoryBean">
         <property name="velocityProperties">
             <props>
-                <prop key="input.encoding">UTF-8</prop>
-                <prop key="output.encoding">UTF-8</prop>
                 <prop key="resource.loader">file, classpath, string, springMacro</prop>
-                <prop key="classpath.resource.loader.class">
+                <prop key="resource.loader.classpath.class">
                     org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
                 </prop>
-                <prop key="springMacro.resource.loader.class">
+                <prop key="resource.loader.springMacro.class">
                     org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
                 </prop>
-                <prop key="string.resource.loader.class">
+                <prop key="resource.loader.string.class">
                     org.apache.velocity.runtime.resource.loader.StringResourceLoader
                 </prop>
-                <prop key="file.resource.loader.class">
+                <prop key="resource.loader.file.class">
                     org.apache.velocity.runtime.resource.loader.FileResourceLoader
                 </prop>
                 <prop key="velocimacro.library">
-                    net/shibboleth/ext/spring/velocity/spring.vm
+                    net/shibboleth/shared/spring/velocity/spring.vm
                 </prop>
-                <prop key="file.resource.loader.path">#{'%{idp.views:%{idp.home}/views}'.trim()},%{idp.home}/system/views</prop>
-                <prop key="file.resource.loader.cache">false</prop>
+                <prop key="resource.loader.file.path">#{'%{idp.views:%{idp.home}/views}'.trim()},%{idp.home}/system/views</prop>
+                <prop key="resource.loader.file.cache">false</prop>
             </props>
         </property>
     </bean>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list