[java-plugin-shibd] branch main updated: Fix constant and parameter name to match docs and Agent.

Codeberg noreply at shibboleth.net
Tue May 26 15:04:44 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/e01f2c18b1033ddf732603fa551b7cf3d57bf9d2

The following commit(s) were added to refs/heads/main by this push:
     new e01f2c1  Fix constant and parameter name to match docs and Agent.
e01f2c1 is described below

commit e01f2c18b1033ddf732603fa551b7cf3d57bf9d2
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Tue May 26 11:04:24 2026 -0400

    Fix constant and parameter name to match docs and Agent.
---
 .../net/shibboleth/sp/profile/AbstractTokenConsumerResponseAction.java  | 2 +-
 .../src/main/java/net/shibboleth/sp/profile/ConsumerConstants.java      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sp-server-api/src/main/java/net/shibboleth/sp/profile/AbstractTokenConsumerResponseAction.java b/sp-server-api/src/main/java/net/shibboleth/sp/profile/AbstractTokenConsumerResponseAction.java
index 7d4056a..30d6961 100644
--- a/sp-server-api/src/main/java/net/shibboleth/sp/profile/AbstractTokenConsumerResponseAction.java
+++ b/sp-server-api/src/main/java/net/shibboleth/sp/profile/AbstractTokenConsumerResponseAction.java
@@ -196,7 +196,7 @@ public abstract class AbstractTokenConsumerResponseAction extends AbstractApplic
             if (resource == null || resource.length == 0) {
                 final DDF in = agentRequestContext.getInput();
                 if (in != null) {
-                    resource = in.getmember(ConsumerConstants.BASE_URL).unsafe_string();
+                    resource = in.getmember(ConsumerConstants.HOME_URL).unsafe_string();
                 }
                 if (resource == null || resource.length == 0) {
                     resource = "/".getBytes(StandardCharsets.UTF_8);
diff --git a/sp-server-api/src/main/java/net/shibboleth/sp/profile/ConsumerConstants.java b/sp-server-api/src/main/java/net/shibboleth/sp/profile/ConsumerConstants.java
index 2c903ad..09ee789 100644
--- a/sp-server-api/src/main/java/net/shibboleth/sp/profile/ConsumerConstants.java
+++ b/sp-server-api/src/main/java/net/shibboleth/sp/profile/ConsumerConstants.java
@@ -24,7 +24,7 @@ import net.shibboleth.shared.annotation.constraint.NotEmpty;
 public final class ConsumerConstants {
 
     /** Base URL input parameter name. */
-    @Nonnull @NotEmpty public static final String BASE_URL = "base_url";
+    @Nonnull @NotEmpty public static final String HOME_URL = "home_url";
 
     /** Token validation errors data member. */
     @Nonnull @NotEmpty public static final String VALIDATION_ERRORS = "validation_errors";

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


More information about the commits mailing list