Skip to content
Sharp

Spring Security · interview question

What does Spring Security's Authentication Filter primarily do?

Multiple choiceEasychapter-17-curatedpremiumspring-securityspring-security-filter-chain
Choose one answer
Answer and explanation

Correct answer

B. Validates user credentials.

Why

The Authentication Filter in Spring Security is responsible for validating user credentials and ensuring that the user is who they claim to be before allowing access to protected resources.

Test yourself on Spring Security

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

Start free test
All Spring Security questions →