Home » JAVA Programming » Networking » Question
  1. Which object is used by spring for authentication?
    1. AnonymousHolder
    2. SecurityContextHolder
    3. ContextHolder
    4. SecurityHolder
    5. 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.



Your comments will be displayed only after manual approval.