Logger.info("doDeleteExpiredTokens SecureSocial");
DateTime now = DateTime.now();
Iterator<Token> iterator = tokens.values().iterator();
while (iterator.hasNext()) {
Token token = iterator.next();
if (now.isAfter(token.getExpirationTime())) {
iterator.remove();
Logger.info("Removed token [{}]", token.getUuid());
}
}
}