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 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:
      onLogoutSuccess in interface org.springframework.security.web.authentication.logout.LogoutSuccessHandler
      Throws:
      IOException
      jakarta.servlet.ServletException