[java-identity-provider] branch dev/thymeleaf updated: Add additional engine resolution location to match Velocity.

Scott Cantor cantor.2 at osu.edu
Wed Jan 31 15:24:44 UTC 2024


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

scantor pushed a commit to branch dev/thymeleaf
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=6d4d28c53998723e0ab741965956912e58766e15

The following commit(s) were added to refs/heads/dev/thymeleaf by this push:
     new 6d4d28c53 Add additional engine resolution location to match Velocity.
6d4d28c53 is described below

commit 6d4d28c53998723e0ab741965956912e58766e15
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Jan 31 10:24:40 2024 -0500

    Add additional engine resolution location to match Velocity.
---
 .../src/main/resources/net/shibboleth/idp/conf/mvc-beans.xml      | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/mvc-beans.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/mvc-beans.xml
index 9e9589da7..32ab98ba7 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/mvc-beans.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/mvc-beans.xml
@@ -130,6 +130,14 @@
                     <property name="prefix" value="classpath:/net/shibboleth/idp/views/"/>
                     <property name="suffix" value=".html"/>
                 </bean>
+                <bean class="org.thymeleaf.spring6.templateresolver.SpringResourceTemplateResolver">
+                    <property name="name" value="classpathViews" />
+                    <property name="checkExistence" value="true"/>
+                    <property name="cacheable" value="true"/>
+                    <property name="templateMode" value="HTML" />
+                    <property name="prefix" value="classpath:/META-INF/net/shibboleth/idp/views"/>
+                    <property name="suffix" value=".html"/>
+                </bean>
             </util:set>
         </property>
         <property name="enableSpringELCompiler" value="true" />

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


More information about the commits mailing list