which is best approach to validated jwt token , option 1: Jwts.parse and option 2: OncePerRequestFilter in java spring boot

Java Spring boot Jwt