[java-plugin-shibd-saml] branch main updated: Fix up tests after remoting change in shibd plugin.
Codeberg
noreply at shibboleth.net
Tue Jun 9 12:50:25 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/7a928743d9edfdaef6a106767a140fa82da79f7f
The following commit(s) were added to refs/heads/main by this push:
new 7a92874 Fix up tests after remoting change in shibd plugin.
7a92874 is described below
commit 7a928743d9edfdaef6a106767a140fa82da79f7f
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Tue Jun 9 08:50:09 2026 -0400
Fix up tests after remoting change in shibd plugin.
---
.../shibboleth/sp/saml/flows/saml2/SAML2LogoutConsumerFlowTest.java | 5 ++++-
.../shibboleth/sp/saml/flows/saml2/SAML2TokenConsumerFlowTest.java | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2LogoutConsumerFlowTest.java b/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2LogoutConsumerFlowTest.java
index f81bb09..c908666 100644
--- a/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2LogoutConsumerFlowTest.java
+++ b/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2LogoutConsumerFlowTest.java
@@ -578,10 +578,13 @@ public class SAML2LogoutConsumerFlowTest extends AbstractSPFlowTest {
final DDF obj = new DDF(null).structure();
final DDF http = obj.addmember(RemotedHttpServletRequest.STRUCTURE_NAME).structure();
+ http.addmember(RemotedHttpServletRequest.SCHEME).string("https");
+ http.addmember(RemotedHttpServletRequest.PORT).integer(443);
+ http.addmember(RemotedHttpServletRequest.HOSTNAME).unsafe_string("sp.example.org".getBytes(StandardCharsets.UTF_8));
http.addmember(RemotedHttpServletRequest.METHOD).string("POST");
http.addmember(RemotedHttpServletRequest.REMOTE_ADDR).string("192.168.1.1");
http.addmember(RemotedHttpServletRequest.CONTENT_TYPE).string("application/x-www-form-urlencoded");
- http.addmember(RemotedHttpServletRequest.REQUEST_URL).unsafe_string(RESPONSE_URL.getBytes(StandardCharsets.UTF_8));
+ http.addmember(RemotedHttpServletRequest.REQUEST_URI).unsafe_string("/Shibboleth.sso/SAML2/SLO/POST".getBytes(StandardCharsets.UTF_8));
if (stateCookie != null) {
http.addmember("headers").structure().addmember("Cookie")
diff --git a/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2TokenConsumerFlowTest.java b/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2TokenConsumerFlowTest.java
index 69a4390..c70ce0e 100644
--- a/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2TokenConsumerFlowTest.java
+++ b/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2TokenConsumerFlowTest.java
@@ -942,10 +942,13 @@ public class SAML2TokenConsumerFlowTest extends AbstractSPFlowTest {
obj.addmember(ConsumerConstants.HOME_URL).unsafe_string(RESOURCE_URL.getBytes(StandardCharsets.UTF_8));
final DDF http = obj.addmember(RemotedHttpServletRequest.STRUCTURE_NAME).structure();
+ http.addmember(RemotedHttpServletRequest.SCHEME).string("https");
+ http.addmember(RemotedHttpServletRequest.PORT).integer(443);
+ http.addmember(RemotedHttpServletRequest.HOSTNAME).unsafe_string("sp.example.org".getBytes(StandardCharsets.UTF_8));
http.addmember(RemotedHttpServletRequest.METHOD).string("POST");
http.addmember(RemotedHttpServletRequest.REMOTE_ADDR).string("192.168.1.1");
http.addmember(RemotedHttpServletRequest.CONTENT_TYPE).string("application/x-www-form-urlencoded");
- http.addmember(RemotedHttpServletRequest.REQUEST_URL).unsafe_string(RESPONSE_URL.getBytes(StandardCharsets.UTF_8));
+ http.addmember(RemotedHttpServletRequest.REQUEST_URI).unsafe_string("/Shibboleth.sso/SAML2/POST".getBytes(StandardCharsets.UTF_8));
if (stateCookie != null) {
http.addmember("headers").structure().addmember("Cookie")
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list