[java-idp-oidc] 18/35: JOIDC-232 - Protocol trace log only display first parameter value
Henri Mikkonen
henri.mikkonen at iki.fi
Thu Oct 24 14:01:43 UTC 2024
This is an automated email from the git hooks/post-receive script.
hjmikkon pushed a commit to branch dev/JOIDC-222
in repository java-idp-oidc.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-oidc.git;a=commit;h=3383c0a558c03039e9fc8babb96602c7c8cb2fa8
commit 3383c0a558c03039e9fc8babb96602c7c8cb2fa8
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