[java-idp-plugin-oidc-op-oidfed] 02/04: Fix the use of getBooleanClaim(..) method.
Codeberg
noreply at shibboleth.net
Sun Oct 11 11:49:57 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-idp-plugin-oidc-op-oidfed.
View the commit online:
https://codeberg.org/Shibboleth/java-idp-plugin-oidc-op-oidfed/commit/c6a16eda1c327d7427b2c858f8e1f0d288b93ddf
commit c6a16eda1c327d7427b2c858f8e1f0d288b93ddf
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Sun Oct 11 14:44:38 2026 +0300
Fix the use of getBooleanClaim(..) method.
---
.../idp/plugin/oidc/op/oidfed/support/ClaimsSetExtensionSupport.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/idp-oidfed-op-api/src/main/java/net/shibboleth/idp/plugin/oidc/op/oidfed/support/ClaimsSetExtensionSupport.java b/idp-oidfed-op-api/src/main/java/net/shibboleth/idp/plugin/oidc/op/oidfed/support/ClaimsSetExtensionSupport.java
index b09355d..dc06cbc 100644
--- a/idp-oidfed-op-api/src/main/java/net/shibboleth/idp/plugin/oidc/op/oidfed/support/ClaimsSetExtensionSupport.java
+++ b/idp-oidfed-op-api/src/main/java/net/shibboleth/idp/plugin/oidc/op/oidfed/support/ClaimsSetExtensionSupport.java
@@ -88,7 +88,7 @@ public class ClaimsSetExtensionSupport {
*/
public static boolean parseAutoRegisteredStored(@Nullable final JWTClaimsSet claimsSet) {
try {
- return claimsSet != null ? claimsSet.getBooleanClaim(KEY_AUTO_REGISTERED_STORED) : false;
+ return claimsSet != null && Boolean.TRUE.equals(claimsSet.getBooleanClaim(KEY_AUTO_REGISTERED_STORED));
} catch (final ParseException e) {
log.warn("Could not parse auto registered stored flag from the claims set", e);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list