Logout
Learn Logout (Spring MVC Security Integration, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Fresher Notes Logout ends the authenticated session: Spring invalidates the HTTP session, clears the SecurityContext and can delete cookies. Default : POST /logout with a CSRF token, then a redirect to /login?logout . Filter : LogoutFilter runs a list of LogoutHandler objects and then a LogoutSuccessHandler .