Package org.springframework.security.web.authentication.logout
@NullMarked
package org.springframework.security.web.authentication.logout
Logout functionality based around a filter which handles a specific logout URL.
-
ClassDescriptionPerforms a logout through all the
LogoutHandlerimplementations.A logout handler which clears either - A defined list of cookie names, using the context path as the cookie path OR - A given list of Cookies.Delegates to logout handlers based on matched request matchers.LogoutSuccessHandlerimplementation that will perform a request dispatcher "forward" to the specified target URL.ALogoutHandlerthat writes headers to the response on logout using the givenHeaderWriter.Implementation of theLogoutSuccessHandler.Logs a principal out.Indicates a class that is able to participate in logout handling.A logout handler which publishesLogoutSuccessEvent.Strategy that is called after a successful logout by theLogoutFilter, to handle redirection or forwarding to the appropriate destination.Performs a logout by modifying theSecurityContextHolder.Handles the navigation on logout by delegating to theAbstractAuthenticationTargetUrlRequestHandlerbase class logic.