title: How to check if token expired in java?
body: <p>I have user which have: id, username,password, tokenExpires which is Date. When i generate token i generate a string, how to check if token is not expired?</p>