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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
logout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Authentication authentication)
Causes a logout to be completed.
-
-
-
Method Detail
-
logout
void logout(javax.servlet.http.HttpServletRequest request, javax.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
-
-