MediumApplySpring Bootmultiple-choice

In Spring Security, where should the JWT be validated in the request lifecycle?

Apply Tests ability to use knowledge in practical scenarios.

Answer Options

AIn the controller method using @RequestHeader
BIn a OncePerRequestFilter before the security filter chain processes authorization
CIn the UserDetailsService loadUserByUsername method
DIn an @Aspect around all controller methods

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 15+ more Spring Boot questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Spring Boot topic (Programming Languages).

More Spring Boot Questions