[java-plugin-shibd] branch main updated: Align isPassive discovery parameter to spec.
Scott Cantor
cantor.2 at osu.edu
Tue Jul 1 20:29:15 UTC 2025
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-plugin-shibd.
View the commit online:
http://git.shibboleth.net/view/?p=java-plugin-shibd.git;a=commit;h=9dad4bbfd26e47b8953fd2d5136d1fb13d101d09
The following commit(s) were added to refs/heads/main by this push:
new 9dad4bb Align isPassive discovery parameter to spec.
9dad4bb is described below
commit 9dad4bbfd26e47b8953fd2d5136d1fb13d101d09
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jul 1 16:29:13 2025 -0400
Align isPassive discovery parameter to spec.
---
.../main/java/net/shibboleth/sp/profile/impl/IssueDiscoveryRequest.java | 2 +-
.../java/net/shibboleth/sp/profile/impl/IssueDiscoveryRequestTest.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sp-server-impl/src/main/java/net/shibboleth/sp/profile/impl/IssueDiscoveryRequest.java b/sp-server-impl/src/main/java/net/shibboleth/sp/profile/impl/IssueDiscoveryRequest.java
index 5cd448a..d5f152b 100644
--- a/sp-server-impl/src/main/java/net/shibboleth/sp/profile/impl/IssueDiscoveryRequest.java
+++ b/sp-server-impl/src/main/java/net/shibboleth/sp/profile/impl/IssueDiscoveryRequest.java
@@ -188,7 +188,7 @@ public class IssueDiscoveryRequest extends AbstractApplicationAction {
discoveryURL += (discoveryURL.indexOf('?') > 0 ? '&' : '?') + "return=" + returnURL
+ "&entityID=" + escaper.escape(issuer);
if (passiveCondition.test(profileRequestContext)) {
- discoveryURL += "&isPassive=1";
+ discoveryURL += "&isPassive=true";
}
ensureOutputObjects();
diff --git a/sp-server-impl/src/test/java/net/shibboleth/sp/profile/impl/IssueDiscoveryRequestTest.java b/sp-server-impl/src/test/java/net/shibboleth/sp/profile/impl/IssueDiscoveryRequestTest.java
index 3ee5629..0e3fe4f 100644
--- a/sp-server-impl/src/test/java/net/shibboleth/sp/profile/impl/IssueDiscoveryRequestTest.java
+++ b/sp-server-impl/src/test/java/net/shibboleth/sp/profile/impl/IssueDiscoveryRequestTest.java
@@ -211,7 +211,7 @@ public class IssueDiscoveryRequestTest extends BaseAgplicationActionTest {
}
builder.append("&entityID=").append(escaper.escape(TEST_ISSUER));
if (passive) {
- builder.append("&isPassive=1");
+ builder.append("&isPassive=true");
}
return builder.toString().getBytes(StandardCharsets.UTF_8);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list