[java-oidc-common] branch main updated: JCOMOIDC-137 - New warning log lines produced by OIDCStringAttributeTranscoder
Phil Smart
philip.smart at jisc.ac.uk
Wed Jun 25 09:11:59 UTC 2025
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=aaa03ab1667f9c7cb1758ffb13609e7fa86dad76
The following commit(s) were added to refs/heads/main by this push:
new aaa03ab JCOMOIDC-137 - New warning log lines produced by OIDCStringAttributeTranscoder
aaa03ab is described below
commit aaa03ab1667f9c7cb1758ffb13609e7fa86dad76
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Wed Jun 25 10:11:54 2025 +0100
JCOMOIDC-137 - New warning log lines produced by
OIDCStringAttributeTranscoder
- Revert change of log line from trace to warn (put it back to trace).
It is reasonable that some claims will not be transcoded. It's
reasonable to expect that some claims may not be transcoded. For
instance, a claim requesting a name in the id_token could involve a
value that is a JSON object rather than a simple string. In this case,
there's no need to decode it as a string value and not need to WARN
about it.
https://shibboleth.atlassian.net/browse/JCOMOIDC-137
---
.../oidc/attribute/transcoding/impl/OIDCStringAttributeTranscoder.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 8e0e829..8b34380 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
@@ -229,7 +229,7 @@ public class OIDCStringAttributeTranscoder extends AbstractOIDCAttributeTranscod
return CollectionSupport.listOf(StringAttributeValue.valueOf(
new JSONObject(mapWithStringKeys).toJSONString()));
} else {
- log.warn("Could not convert values of type {} for the claim '{}' to a string attribute using "
+ log.trace("Could not convert values of type {} for the claim '{}' to a string attribute using "
+ "transcoding rule '{} -> {}'",
input.getClass().getName(), input, rule.getOrDefault(PROP_NAME, String.class, "unknown"),
rule.getOrDefault(AttributeTranscoderRegistry.PROP_ID, String.class, "unknown"));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list