Class WithoutRedirectLogoutSuccessHandler

  • All Implemented Interfaces:
    org.springframework.security.web.authentication.logout.LogoutSuccessHandler

    public class WithoutRedirectLogoutSuccessHandler
    extends java.lang.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onLogoutSuccess​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WithoutRedirectLogoutSuccessHandler

        public WithoutRedirectLogoutSuccessHandler()
    • Method Detail

      • onLogoutSuccess

        public void onLogoutSuccess​(javax.servlet.http.HttpServletRequest request,
                                    javax.servlet.http.HttpServletResponse response,
                                    org.springframework.security.core.Authentication authentication)
                             throws java.io.IOException,
                                    javax.servlet.ServletException
        Specified by:
        onLogoutSuccess in interface org.springframework.security.web.authentication.logout.LogoutSuccessHandler
        Throws:
        java.io.IOException
        javax.servlet.ServletException