[java-plugin-shibd] branch main updated: Rehome Templated function class and add parent bean to config.
Codeberg
noreply at shibboleth.net
Wed Jun 3 17:23:49 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-plugin-shibd.
View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd/commit/cf8e1f0d6bd8cef7a04457940afc3a8c34ddce41
The following commit(s) were added to refs/heads/main by this push:
new cf8e1f0 Rehome Templated function class and add parent bean to config.
cf8e1f0 is described below
commit cf8e1f0d6bd8cef7a04457940afc3a8c34ddce41
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Wed Jun 3 13:23:37 2026 -0400
Rehome Templated function class and add parent bean to config.
---
.../src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml | 4 ++++
.../sp/{profile => }/util/TemplatedStringLookupStrategy.java | 2 +-
.../main/java/net/shibboleth/sp/{profile => }/util/package-info.java | 2 +-
.../{profile => }/util/testing/TemplatedStringLookupStrategyTest.java | 4 ++--
.../net/shibboleth/sp/{profile => }/util/testing/package-info.java | 2 +-
5 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/sp-conf-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml b/sp-conf-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
index efe6042..977e77d 100644
--- a/sp-conf-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
+++ b/sp-conf-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
@@ -68,4 +68,8 @@
p:sameSiteCookies="#{getObject('shibboleth.SameSiteCookieMap')}"
p:maxAge="%{sp.cookie.maxAge:-1}" />
+ <bean id="shibboleth.sp.TemplatedLookupStrategy" abstract="true"
+ class="net.shibboleth.sp.util.TemplatedStringLookupStrategy"
+ p:velocityEngine-ref="shibboleth.VelocityEngine" />
+
</beans>
\ No newline at end of file
diff --git a/sp-server-api/src/main/java/net/shibboleth/sp/profile/util/TemplatedStringLookupStrategy.java b/sp-server-api/src/main/java/net/shibboleth/sp/util/TemplatedStringLookupStrategy.java
similarity index 99%
rename from sp-server-api/src/main/java/net/shibboleth/sp/profile/util/TemplatedStringLookupStrategy.java
rename to sp-server-api/src/main/java/net/shibboleth/sp/util/TemplatedStringLookupStrategy.java
index 639869c..846b9b6 100644
--- a/sp-server-api/src/main/java/net/shibboleth/sp/profile/util/TemplatedStringLookupStrategy.java
+++ b/sp-server-api/src/main/java/net/shibboleth/sp/util/TemplatedStringLookupStrategy.java
@@ -12,7 +12,7 @@
* limitations under the License.
*/
-package net.shibboleth.sp.profile.util;
+package net.shibboleth.sp.util;
import java.nio.charset.StandardCharsets;
import java.util.function.Function;
diff --git a/sp-server-api/src/main/java/net/shibboleth/sp/profile/util/package-info.java b/sp-server-api/src/main/java/net/shibboleth/sp/util/package-info.java
similarity index 94%
rename from sp-server-api/src/main/java/net/shibboleth/sp/profile/util/package-info.java
rename to sp-server-api/src/main/java/net/shibboleth/sp/util/package-info.java
index 62735c1..1aeef82 100644
--- a/sp-server-api/src/main/java/net/shibboleth/sp/profile/util/package-info.java
+++ b/sp-server-api/src/main/java/net/shibboleth/sp/util/package-info.java
@@ -15,4 +15,4 @@
/**
* Utility classes meant for external use.
*/
-package net.shibboleth.sp.profile.util;
\ No newline at end of file
+package net.shibboleth.sp.util;
\ No newline at end of file
diff --git a/sp-server-impl/src/test/java/net/shibboleth/sp/profile/util/testing/TemplatedStringLookupStrategyTest.java b/sp-server-impl/src/test/java/net/shibboleth/sp/util/testing/TemplatedStringLookupStrategyTest.java
similarity index 96%
rename from sp-server-impl/src/test/java/net/shibboleth/sp/profile/util/testing/TemplatedStringLookupStrategyTest.java
rename to sp-server-impl/src/test/java/net/shibboleth/sp/util/testing/TemplatedStringLookupStrategyTest.java
index 5591aaa..e7dc99c 100644
--- a/sp-server-impl/src/test/java/net/shibboleth/sp/profile/util/testing/TemplatedStringLookupStrategyTest.java
+++ b/sp-server-impl/src/test/java/net/shibboleth/sp/util/testing/TemplatedStringLookupStrategyTest.java
@@ -12,7 +12,7 @@
* limitations under the License.
*/
-package net.shibboleth.sp.profile.util.testing;
+package net.shibboleth.sp.util.testing;
import java.nio.charset.StandardCharsets;
@@ -26,7 +26,7 @@ import net.shibboleth.shared.testing.VelocityEngine;
import net.shibboleth.sp.ddf.DDF;
import net.shibboleth.sp.messaging.RemotedHttpServletRequest;
import net.shibboleth.sp.profile.impl.BaseApplicationActionTest;
-import net.shibboleth.sp.profile.util.TemplatedStringLookupStrategy;
+import net.shibboleth.sp.util.TemplatedStringLookupStrategy;
/**
* Unit test for {@link TemplatedStringLookupStrategy} class.
diff --git a/sp-server-impl/src/test/java/net/shibboleth/sp/profile/util/testing/package-info.java b/sp-server-impl/src/test/java/net/shibboleth/sp/util/testing/package-info.java
similarity index 93%
rename from sp-server-impl/src/test/java/net/shibboleth/sp/profile/util/testing/package-info.java
rename to sp-server-impl/src/test/java/net/shibboleth/sp/util/testing/package-info.java
index a269102..80a56bd 100644
--- a/sp-server-impl/src/test/java/net/shibboleth/sp/profile/util/testing/package-info.java
+++ b/sp-server-impl/src/test/java/net/shibboleth/sp/util/testing/package-info.java
@@ -15,4 +15,4 @@
/**
* Testing for classes in util API package to avoid sealing violation.
*/
-package net.shibboleth.sp.profile.util.testing;
\ No newline at end of file
+package net.shibboleth.sp.util.testing;
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list