Interface LogoutHandler
- All Known Implementing Classes:
AbstractRememberMeServices
,CompositeLogoutHandler
,CookieClearingLogoutHandler
,CsrfLogoutHandler
,HeaderWriterLogoutHandler
,LogoutSuccessEventPublishingLogoutHandler
,PersistentTokenBasedRememberMeServices
,SecurityContextLogoutHandler
,TokenBasedRememberMeServices
public interface LogoutHandler
Indicates a class that is able to participate in logout handling.
Called by LogoutFilter
.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
logout
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Authentication authentication) Causes a logout to be completed.
-
Method Details
-
logout
void logout(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Authentication authentication) Causes a logout to be completed. The method must complete successfully.- Parameters:
request
- the HTTP requestresponse
- the HTTP responseauthentication
- the current principal details
-