[java-plugin-shibd] branch main updated: Make tests compatible with Cookie-based state management.

Codeberg noreply at shibboleth.net
Tue Apr 21 22:38:30 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/85ba90b7eb8a8f0950fa816b73f5fbdae8839b0d

The following commit(s) were added to refs/heads/main by this push:
     new 85ba90b  Make tests compatible with Cookie-based state management.
85ba90b is described below

commit 85ba90b7eb8a8f0950fa816b73f5fbdae8839b0d
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Tue Apr 21 18:38:16 2026 -0400

    Make tests compatible with Cookie-based state management.
---
 .../src/test/java/net/shibboleth/sp/flows/LogoutInitiatorFlowTest.java  | 2 ++
 .../src/test/java/net/shibboleth/sp/flows/SessionInitiatorFlowTest.java | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/sp-conf-impl/src/test/java/net/shibboleth/sp/flows/LogoutInitiatorFlowTest.java b/sp-conf-impl/src/test/java/net/shibboleth/sp/flows/LogoutInitiatorFlowTest.java
index dd78132..a01df5c 100644
--- a/sp-conf-impl/src/test/java/net/shibboleth/sp/flows/LogoutInitiatorFlowTest.java
+++ b/sp-conf-impl/src/test/java/net/shibboleth/sp/flows/LogoutInitiatorFlowTest.java
@@ -25,6 +25,7 @@ import org.testng.annotations.Test;
 
 import net.shibboleth.idp.authn.AuthnEventIds;
 import net.shibboleth.sp.ddf.DDF;
+import net.shibboleth.sp.messaging.RemotedHttpServletRequest;
 import net.shibboleth.sp.profile.SPConstants;
 
 /**
@@ -81,6 +82,7 @@ public class LogoutInitiatorFlowTest extends AbstractSPFlowTest {
         
         final DDF input = new DDF(null).structure();
         input.addmember(SPConstants.APPLICATION).string(APPLICATION_ID);
+        input.addmember(RemotedHttpServletRequest.STRUCTURE_NAME).structure();
         input.addmember(SPConstants.TARGET).unsafe_string("https://sp.example.org".getBytes(StandardCharsets.UTF_8));
         setRequest("POST", input);
 
diff --git a/sp-conf-impl/src/test/java/net/shibboleth/sp/flows/SessionInitiatorFlowTest.java b/sp-conf-impl/src/test/java/net/shibboleth/sp/flows/SessionInitiatorFlowTest.java
index 98721f8..5ca67a4 100644
--- a/sp-conf-impl/src/test/java/net/shibboleth/sp/flows/SessionInitiatorFlowTest.java
+++ b/sp-conf-impl/src/test/java/net/shibboleth/sp/flows/SessionInitiatorFlowTest.java
@@ -25,6 +25,7 @@ import org.testng.annotations.Test;
 
 import net.shibboleth.idp.authn.AuthnEventIds;
 import net.shibboleth.sp.ddf.DDF;
+import net.shibboleth.sp.messaging.RemotedHttpServletRequest;
 import net.shibboleth.sp.profile.SPConstants;
 
 /**
@@ -81,6 +82,7 @@ public class SessionInitiatorFlowTest extends AbstractSPFlowTest {
         
         final DDF input = new DDF(null).structure();
         input.addmember(SPConstants.APPLICATION).string(APPLICATION_ID);
+        input.addmember(RemotedHttpServletRequest.STRUCTURE_NAME).structure();
         input.addmember(SPConstants.TARGET).unsafe_string("https://sp.example.org".getBytes(StandardCharsets.UTF_8));
         setRequest("POST", input);
 

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


More information about the commits mailing list