[java-plugin-shibd-saml] branch main updated: Fix tests after cookie corrections.
Codeberg
noreply at shibboleth.net
Tue Jan 6 19:12:05 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-saml.
View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd-saml/commit/577f9294e2b1341659a40db3e7ee669d7913ab94
The following commit(s) were added to refs/heads/main by this push:
new 577f929 Fix tests after cookie corrections.
577f929 is described below
commit 577f9294e2b1341659a40db3e7ee669d7913ab94
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jan 6 14:11:55 2026 -0500
Fix tests after cookie corrections.
---
.../shibboleth/sp/saml/flows/saml2/SAML2SessionInitiatorFlowTest.java | 2 +-
.../src/test/resources/net/shibboleth/idp/module/conf/sp/sp.properties | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2SessionInitiatorFlowTest.java b/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2SessionInitiatorFlowTest.java
index 04490ad..07f24b2 100644
--- a/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2SessionInitiatorFlowTest.java
+++ b/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2SessionInitiatorFlowTest.java
@@ -627,7 +627,7 @@ public class SAML2SessionInitiatorFlowTest extends AbstractSPFlowTest {
assert cookie != null;
if (cookie.startsWith("__Host-" + IssueCorrelationCookie.DEFAULT_COOKIE_PREFIX)) {
Assert.assertEquals(cookie,
- "__Host-_shibsp_req_" + input.getmember(SPConstants.STATE).string() + '=' + authnRequest.getID()
+ "__Host-shibsp_req_" + input.getmember(SPConstants.STATE).string() + '=' + authnRequest.getID()
+ "; HttpOnly; Path=/; SameSite=None; Secure");
foundCorrelationCookie = true;
}
diff --git a/sp-saml-conf-impl/src/test/resources/net/shibboleth/idp/module/conf/sp/sp.properties b/sp-saml-conf-impl/src/test/resources/net/shibboleth/idp/module/conf/sp/sp.properties
index 658b6fb..1a0c136 100644
--- a/sp-saml-conf-impl/src/test/resources/net/shibboleth/idp/module/conf/sp/sp.properties
+++ b/sp-saml-conf-impl/src/test/resources/net/shibboleth/idp/module/conf/sp/sp.properties
@@ -42,7 +42,7 @@ sp.application.tokenConsumers = saml2/artifact, saml2/post, saml2/post-simplesig
#sp.stateToken.cookiePrefix = __Host-shibsp_state_
# Request/response correlation control
-#sp.correlation.cookiePrefix = __Host-_shibsp_req_
+#sp.correlation.cookiePrefix = __Host-shibsp_req_
# Uncomment/set to define a default IdP discovery service URL or Function
sp.discoveryURL = https://test.shibboleth.net/shibboleth-ds/index.html
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list