Class DelegatingLogoutSuccessHandler

  • All Implemented Interfaces:
    LogoutSuccessHandler

    public class DelegatingLogoutSuccessHandler
    extends java.lang.Object
    implements LogoutSuccessHandler
    Delegates to logout handlers based on matched request matchers
    Since:
    4.1
    • Method Detail

      • onLogoutSuccess

        public void onLogoutSuccess​(javax.servlet.http.HttpServletRequest request,
                                    javax.servlet.http.HttpServletResponse response,
                                    Authentication authentication)
                             throws java.io.IOException,
                                    javax.servlet.ServletException
        Specified by:
        onLogoutSuccess in interface LogoutSuccessHandler
        Throws:
        java.io.IOException
        javax.servlet.ServletException
      • setDefaultLogoutSuccessHandler

        public void setDefaultLogoutSuccessHandler​(LogoutSuccessHandler defaultLogoutSuccessHandler)
        Sets the default LogoutSuccessHandler if no other handlers available
        Parameters:
        defaultLogoutSuccessHandler - the defaultLogoutSuccessHandler to set