diff --git a/example/pom.xml b/example/pom.xml index ce27c8fb..0d6a4d18 100644 --- a/example/pom.xml +++ b/example/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 3.5.13 + 3.5.14 eu.webeid.example @@ -23,9 +23,6 @@ 6.1.1 1.44 3.5.1 - - - 3.1.4.RELEASE diff --git a/pom.xml b/pom.xml index 99ce27be..94f32af1 100644 --- a/pom.xml +++ b/pom.xml @@ -12,18 +12,18 @@ 11 - 0.12.6 + 0.13.0 1.84 - 2.19.1 + 2.21.3 2.0.17 - 5.13.3 + 5.14.4 3.27.7 - 5.18.0 - 3.5.2 - 3.3.1 - 3.11.2 - 3.6.0 - 0.8.12 + 5.23.0 + 3.5.5 + 3.4.0 + 3.12.0 + 3.6.2 + 0.8.14 ${project.basedir}/../jacoco-coverage-report/target/site/jacoco-aggregate/jacoco.xml diff --git a/src/main/java/eu/webeid/security/validator/AuthTokenValidatorImpl.java b/src/main/java/eu/webeid/security/validator/AuthTokenValidatorImpl.java index 14cf3e78..b26ad653 100644 --- a/src/main/java/eu/webeid/security/validator/AuthTokenValidatorImpl.java +++ b/src/main/java/eu/webeid/security/validator/AuthTokenValidatorImpl.java @@ -107,7 +107,7 @@ public WebEidAuthToken parse(String authToken) throws AuthTokenException { return parseToken(authToken); } catch (Exception e) { // Generally "log and rethrow" is an anti-pattern, but it fits with the surrounding logging style. - LOG.warn("Token parsing was interrupted:", e); + LOG.warn("Token parsing failed: {}: {}", e.getClass().getName(), e.getMessage()); throw e; } } @@ -119,7 +119,7 @@ public X509Certificate validate(WebEidAuthToken authToken, String currentChallen return validateToken(authToken, currentChallengeNonce); } catch (Exception e) { // Generally "log and rethrow" is an anti-pattern, but it fits with the surrounding logging style. - LOG.warn("Token validation was interrupted:", e); + LOG.warn("Token validation failed: {}: {}", e.getClass().getName(), e.getMessage()); throw e; } }