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=a1addb137aca9c946783c1f7e553e488b56f9ad0
The following commit(s) were added to refs/heads/main by this push:
new a1addb1 Improve log statement
a1addb1 is described below
commit a1addb137aca9c946783c1f7e553e488b56f9ad0
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Wed May 19 17:04:10 2021 +0100
Improve log statement
---
.../security/jwt/claims/impl/AuthenticationTimeClaimsValidator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AuthenticationTimeClaimsValidator.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AuthenticationTimeClaimsValidator.java
index d429952..52b0dc8 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AuthenticationTimeClaimsValidator.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AuthenticationTimeClaimsValidator.java
@@ -134,7 +134,7 @@ public class AuthenticationTimeClaimsValidator extends AbstractClaimsValidator {
// Check time of authentication wasn't in the future
if (authTime.isAfter(latestValid)) {
log.warn("Authentication is not yet valid: auth_time was {}, latest valid is: {}",
- authTime, now);
+ authTime, latestValid);
throw new JWTValidationException("JWT token authentication time is not yet valid");
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.