org.springframework.security.web.authentication.logout
Interface LogoutSuccessHandler
- All Known Implementing Classes:
- SimpleUrlLogoutSuccessHandler
public interface LogoutSuccessHandler
Strategy that is called after a successful logout by the LogoutFilter
, to handle redirection or
forwarding to the appropriate destination.
Note that the interface is almost the same as LogoutHandler
but may raise an exception.
LogoutHandler implementations expect to be invoked to perform necessary cleanup, so should not throw
exceptions.
- Since:
- 3.0
Method Summary |
void |
onLogoutSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Authentication authentication)
|
onLogoutSuccess
void onLogoutSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Authentication authentication)
throws java.io.IOException,
javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException