fixed timestamp math

(I hate timestamp math)
pull/210/head
Justin Richer 2012-08-17 16:35:27 -04:00
parent 26d5a846e0
commit b47dcf8e6b
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}
}