-
Which object is used by spring for authentication?
-
- AnonymousHolder
- SecurityContextHolder
- ContextHolder
- SecurityHolder
- None of these
Correct Option: B
The SessionManagementFilter checks the contents of the SecurityContextRepository against the current contents of the SecurityContextHolder to determine whether user has been authenticated during the current request by a non-interactive authentication mechanism, like pre authentication or remember me.