fixed timestamp math

(I hate timestamp math)
pull/210/head
Justin Richer 12 years ago
parent 26d5a846e0
commit b47dcf8e6b

@ -371,7 +371,7 @@ public class AbstractOIDCAuthenticationFilter extends
} else {
// it's not null, see if it's expired
Date now = new Date();
if (!now.after(idClaims.getExpiration())) {
if (now.after(idClaims.getExpiration())) {
throw new AuthenticationServiceException("Id Token is expired: " + idClaims.getExpiration());
}
}

Loading…
Cancel
Save