[java-idp-oidc] branch main updated: JOIDC-232 - Protocol trace log only display first parameter value

Henri Mikkonen henri.mikkonen at iki.fi
Fri Oct 4 12:37:04 UTC 2024


This is an automated email from the git hooks/post-receive script.

hjmikkon pushed a commit to branch main
in repository java-idp-oidc.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-oidc.git;a=commit;h=15703fc3847bad93ead1e0550103efbfb73002e6

The following commit(s) were added to refs/heads/main by this push:
     new 15703fc3 JOIDC-232 - Protocol trace log only display first parameter value
15703fc3 is described below

commit 15703fc3847bad93ead1e0550103efbfb73002e6
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Fri Oct 4 15:36:31 2024 +0300

    JOIDC-232 - Protocol trace log only display first parameter value
    
    https://shibboleth.atlassian.net/browse/JOIDC-232
---
 .../net/shibboleth/idp/plugin/oidc/op/decoding/impl/RequestUtil.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/decoding/impl/RequestUtil.java b/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/decoding/impl/RequestUtil.java
index 4a83b43b..920e39eb 100644
--- a/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/decoding/impl/RequestUtil.java
+++ b/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/decoding/impl/RequestUtil.java
@@ -63,7 +63,10 @@ public final class RequestUtil {
         if (parameters != null) {
             ret += "Parameters:" + nl;
             for (final Entry<String, List<String>> entry : parameters.entrySet()) {
-                ret += "\t" + entry.getKey() + ":" + entry.getValue().get(0) + nl;
+                final List<String> values = entry.getValue();
+                for (int i = 0; values != null && i < values.size(); i++) {
+                    ret += "\t" + entry.getKey() + ":" + values.get(i) + nl;
+                }
             }
         }
         return ret;

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


More information about the commits mailing list