org.springframework.security.web.authentication.logout
Interface LogoutHandler

All Known Implementing Classes:
AbstractRememberMeServices, CookieClearingLogoutHandler, CsrfLogoutHandler, PersistentTokenBasedRememberMeServices, SecurityContextLogoutHandler, TokenBasedRememberMeServices

public interface LogoutHandler

Indicates a class that is able to participate in logout handling.

Called by LogoutFilter.


Method Summary
 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 request
response - the HTTP response
authentication - the current principal details