From f7c8896181b2af9cc615e9ba35c403730a5a601b Mon Sep 17 00:00:00 2001 From: vramik Date: Mon, 27 May 2019 12:44:04 +0200 Subject: [PATCH] KEYCLOAK-10401 Fix log debug message in ConditionsValidator --- .../java/org/keycloak/saml/validators/ConditionsValidator.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/saml-core/src/main/java/org/keycloak/saml/validators/ConditionsValidator.java b/saml-core/src/main/java/org/keycloak/saml/validators/ConditionsValidator.java index d77a4fdf2a..7d0313464a 100644 --- a/saml-core/src/main/java/org/keycloak/saml/validators/ConditionsValidator.java +++ b/saml-core/src/main/java/org/keycloak/saml/validators/ConditionsValidator.java @@ -174,7 +174,8 @@ public class ConditionsValidator { XMLGregorianCalendar updatedNotBefore = XMLTimeUtil.subtract(notBefore, clockSkewInMillis); XMLGregorianCalendar updatedOnOrAfter = XMLTimeUtil.add(notOnOrAfter, clockSkewInMillis); - LOG.debugf("Evaluating Conditions of Assertion %s. notBefore=%s, notOnOrAfter=%s", assertionId, notBefore, notOnOrAfter); + LOG.debugf("Evaluating Conditions of Assertion %s. notBefore=%s, notOnOrAfter=%s, updatedNotBefore: %s, updatedOnOrAfter=%s, now: %s", + assertionId, notBefore, notOnOrAfter, updatedNotBefore, updatedOnOrAfter, now); boolean valid = XMLTimeUtil.isValid(now, updatedNotBefore, updatedOnOrAfter); if (! valid) { LOG.infof("Assertion %s expired.", assertionId);