[java-oidc-common] branch main updated: Null cleanup
Phil Smart
philip.smart at jisc.ac.uk
Mon Apr 8 09:30:55 UTC 2024
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=c1ede3cce4feeee184b10a01f6d3ff675e589a09
The following commit(s) were added to refs/heads/main by this push:
new c1ede3c Null cleanup
c1ede3c is described below
commit c1ede3cce4feeee184b10a01f6d3ff675e589a09
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Mon Apr 8 10:30:44 2024 +0100
Null cleanup
---
.../oidc/security/impl/JWTMessageSignatureSecurityHandler.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/JWTMessageSignatureSecurityHandler.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/JWTMessageSignatureSecurityHandler.java
index 97714ae..2d3972c 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/JWTMessageSignatureSecurityHandler.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/JWTMessageSignatureSecurityHandler.java
@@ -120,8 +120,9 @@ public class JWTMessageSignatureSecurityHandler extends BaseJWTSignatureSecurity
final OIDCPeerEntityContext peerContext = getOIDCPeerEntityContext();
// Add peer identifier in case it is needed by credential resolvers
final String issuerId = peerContext != null ? peerContext.getIdentifier() : null;
-
- if (evaluate(signedJwt, issuerId, messageContext)) {
+ final SignedJWT localSignedJwt = signedJwt;
+ assert localSignedJwt != null;
+ if (evaluate(localSignedJwt, issuerId, messageContext)) {
log.debug("{} Validation of JWS token signature succeeded for peer '{}'",
getLogPrefix(), issuerId);
} else {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list