Skip to content
Sharp

Authentication · interview question

Which component of the Spring Security filter chain is directly responsible for processing JWTs?

Multiple choiceMediumchapter-17-curatedpremiumauthenticationjwt-signatures
Choose one answer
Answer and explanation

Correct answer

B. JWTAuthenticationFilter

Why

The JWTAuthenticationFilter is responsible for processing JWTs in the Spring Security filter chain. It verifies the token, extracts user details, and sets the authentication context accordingly.

Test yourself on Authentication

A free test with instant, explained results. No account needed.

Start free test
All Authentication questions →