[java-oidc-common] branch main updated: Fix comment
Phil Smart
philip.smart at jisc.ac.uk
Mon Feb 28 15:31:02 UTC 2022
This is an automated email from the git hooks/post-receive script.
philsmart pushed a commit to branch main
in repository java-oidc-common.
View the commit online:
http://git.shibboleth.net/view/?p=java-oidc-common.git;a=commit;h=32f4b73930b042067e2ee798f2fb97d3ba5ab6ad
The following commit(s) were added to refs/heads/main by this push:
new 32f4b73 Fix comment
32f4b73 is described below
commit 32f4b73930b042067e2ee798f2fb97d3ba5ab6ad
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Mon Feb 28 15:30:56 2022 +0000
Fix comment
---
.../oidc/attribute/transcoding/impl/OIDCStringAttributeTranscoder.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/oidc-common-attribute-impl/src/main/java/net/shibboleth/oidc/attribute/transcoding/impl/OIDCStringAttributeTranscoder.java b/oidc-common-attribute-impl/src/main/java/net/shibboleth/oidc/attribute/transcoding/impl/OIDCStringAttributeTranscoder.java
index 595a249..cb0c8d2 100644
--- a/oidc-common-attribute-impl/src/main/java/net/shibboleth/oidc/attribute/transcoding/impl/OIDCStringAttributeTranscoder.java
+++ b/oidc-common-attribute-impl/src/main/java/net/shibboleth/oidc/attribute/transcoding/impl/OIDCStringAttributeTranscoder.java
@@ -189,8 +189,7 @@ public class OIDCStringAttributeTranscoder extends AbstractOIDCAttributeTranscod
// Serialize JSON Array to JSON string
return List.of(StringAttributeValue.valueOf(((JSONArray)input).toJSONString()));
} else {
- // Deal with array recursively, if any nested element can not be converted to a string
- // the entire attribute will fail to be decoded.
+ // Deal with array recursively
final JSONArray array = (JSONArray)input;
final List<IdPAttributeValue> arrayValuesDecoded = new ArrayList<>();
for (final Object element : array) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list