[java-oidc-common] branch main updated: Fix the instanceof -check to match the class cast on the next line

Codeberg noreply at shibboleth.net
Mon Nov 2 07:56:10 UTC 2026


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

codeberg pushed a commit to branch main
in repository java-oidc-common.

View the commit online:
https://codeberg.org/Shibboleth/java-oidc-common/commit/a9acd09543696189beadd90d2093780d306b1d9f

The following commit(s) were added to refs/heads/main by this push:
     new a9acd095 Fix the instanceof -check to match the class cast on the next line
a9acd095 is described below

commit a9acd09543696189beadd90d2093780d306b1d9f
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Mon Nov 2 09:51:50 2026 +0200

    Fix the instanceof -check to match the class cast on the next line
---
 .../shibboleth/oidc/security/impl/BaseJWTSignatureSecurityHandler.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/BaseJWTSignatureSecurityHandler.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/BaseJWTSignatureSecurityHandler.java
index ea63e5c2..3462de54 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/BaseJWTSignatureSecurityHandler.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/BaseJWTSignatureSecurityHandler.java
@@ -204,7 +204,7 @@ public abstract class BaseJWTSignatureSecurityHandler extends BaseTrustEngineSec
         
         final RelyingPartyContext rpCtx = adapt(relyingPartyContextLookupStrategy).apply(messageContext);     
         if (rpCtx != null && rpCtx.getConfiguration() != null &&
-                rpCtx.getProfileConfig() instanceof OAuth2ClientAuthenticableProfileConfiguration) {
+                rpCtx.getProfileConfig() instanceof OAuth2ClientAuthenticableClientProfileConfiguration) {
             profileConfiguration = (OAuth2ClientAuthenticableClientProfileConfiguration) rpCtx.getProfileConfig();
         }
 

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


More information about the commits mailing list