Skip to content
Sharp

Spring Security · interview question

Why is separating authentication from authorization important in a real system?

Multiple choiceEasychapter-17-curatedpremiumspring-securityfilter-chain
Choose one answer
Answer and explanation

Correct answer

A. Authentication identifies who the caller is; authorization decides what that caller may do

Why

A system first proves who the caller is, then decides whether that caller is allowed to perform the requested action. Mixing those concerns leads to shallow security checks.

Test yourself on Spring Security

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

Start free test
All Spring Security questions →