TechSur Solutions interview question

How do we Authenticate a user in java , using the jwt token.