Class WithoutRedirectLogoutSuccessHandler
java.lang.Object
com.xebialabs.deployit.plumbing.authentication.WithoutRedirectLogoutSuccessHandler
- All Implemented Interfaces:
org.springframework.security.web.authentication.logout.LogoutSuccessHandler
public class WithoutRedirectLogoutSuccessHandler
extends Object
implements org.springframework.security.web.authentication.logout.LogoutSuccessHandler
Used to avoid default redirect on logout that is not supported by our acceptance test launcher.
https://github.com/karma-runner/karma/issues/127
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonLogoutSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)
-
Constructor Details
-
WithoutRedirectLogoutSuccessHandler
public WithoutRedirectLogoutSuccessHandler()
-
-
Method Details
-
onLogoutSuccess
public void onLogoutSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws IOException, jakarta.servlet.ServletException - Specified by:
onLogoutSuccessin interfaceorg.springframework.security.web.authentication.logout.LogoutSuccessHandler- Throws:
IOExceptionjakarta.servlet.ServletException
-