public class RestLogoutSuccessHandler
extends java.lang.Object
implements org.springframework.security.web.authentication.logout.LogoutSuccessHandler
LogoutSuccessHandler that only returns an HTTP
status code of 200. This is useful in REST-type scenarios where a
redirect upon a successful logout is not desired.| Constructor and Description |
|---|
RestLogoutSuccessHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
onLogoutSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication) |
public void onLogoutSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication)
throws java.io.IOException
onLogoutSuccess in interface org.springframework.security.web.authentication.logout.LogoutSuccessHandlerjava.io.IOException