Class STLogoutSuccessHandler
java.lang.Object
it.uniroma2.art.semanticturkey.security.STLogoutSuccessHandler
- All Implemented Interfaces:
org.springframework.security.web.authentication.logout.LogoutSuccessHandler
public class STLogoutSuccessHandler
extends Object
implements org.springframework.security.web.authentication.logout.LogoutSuccessHandler
- Author:
- Tiziano Implementation of the LogoutSuccessHandler. Returns an HTTP status code of 200. This is useful in REST-type scenarios where a redirect upon a successful logout is not desired. (Referenced in WEB-INF/spring-security.xml)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onLogoutSuccess
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)
-
Constructor Details
-
STLogoutSuccessHandler
public STLogoutSuccessHandler()
-
-
Method Details
-
onLogoutSuccess
public void onLogoutSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws IOException - Specified by:
onLogoutSuccess
in interfaceorg.springframework.security.web.authentication.logout.LogoutSuccessHandler
- Throws:
IOException
-