[java-oidc-common] branch main updated: Minor logging and Javadoc improvements

Phil Smart philip.smart at jisc.ac.uk
Thu Jan 5 15:08:42 UTC 2023


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=fe6781afa2259f751c179945294ec8cb9896d9f5

The following commit(s) were added to refs/heads/main by this push:
     new fe6781a  Minor logging and Javadoc improvements
fe6781a is described below

commit fe6781afa2259f751c179945294ec8cb9896d9f5
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Thu Jan 5 15:08:40 2023 +0000

    Minor logging and Javadoc improvements
---
 .../main/java/net/shibboleth/oidc/security/impl/SignJWTHandler.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/SignJWTHandler.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/SignJWTHandler.java
index 8aff29b..4d7e6d9 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/SignJWTHandler.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/SignJWTHandler.java
@@ -232,7 +232,7 @@ public class SignJWTHandler extends AbstractMessageHandler {
             jwtUpdateConsumer.accept(jwt, messageContext);
             
         } catch (final JOSEException e) {
-            log.error("{} Error signing claim set: {}", getLogPrefix(), e.getMessage());
+            log.error("{} Error signing claims set: {}", getLogPrefix(), e.getMessage());
             throw new MessageHandlerException("Error signing claims set",e);
         }
         
@@ -268,7 +268,7 @@ public class SignJWTHandler extends AbstractMessageHandler {
 
         final JWSAlgorithm algorithm = new JWSAlgorithm(signatureSigningParameters.getSignatureAlgorithm());
         if (credential instanceof JWKCredential && !algorithm.equals(((JWKCredential) credential).getAlgorithm())) {
-            log.debug("{} Signature signing algorithm {} differs from JWK algorithm {}", getLogPrefix(),
+            log.debug("{} Signature signing algorithm {} differs from JWK algorithm '{}'", getLogPrefix(),
                     algorithm.getName(), (((JWKCredential) credential).getAlgorithm() != null ? 
                             ((JWKCredential) credential).getAlgorithm() : "not specified"));            
         }

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


More information about the commits mailing list