KEYCLOAK-10401 Fix log debug message in ConditionsValidator
This commit is contained in:
parent
803e44dcb1
commit
f7c8896181
1 changed files with 2 additions and 1 deletions
|
@ -174,7 +174,8 @@ public class ConditionsValidator {
|
||||||
XMLGregorianCalendar updatedNotBefore = XMLTimeUtil.subtract(notBefore, clockSkewInMillis);
|
XMLGregorianCalendar updatedNotBefore = XMLTimeUtil.subtract(notBefore, clockSkewInMillis);
|
||||||
XMLGregorianCalendar updatedOnOrAfter = XMLTimeUtil.add(notOnOrAfter, 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);
|
boolean valid = XMLTimeUtil.isValid(now, updatedNotBefore, updatedOnOrAfter);
|
||||||
if (! valid) {
|
if (! valid) {
|
||||||
LOG.infof("Assertion %s expired.", assertionId);
|
LOG.infof("Assertion %s expired.", assertionId);
|
||||||
|
|
Loading…
Reference in a new issue