Class CookieWipingLogoutHandler

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

    public final class CookieWipingLogoutHandler
    extends Object
    implements org.springframework.security.web.authentication.logout.LogoutHandler
    A logout handler which clears a defined list of cookies, using the context path and '/' as the cookie path.
    • Constructor Detail

      • CookieWipingLogoutHandler

        public CookieWipingLogoutHandler()
    • Method Detail

      • logout

        public void logout​(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response,
                           org.springframework.security.core.Authentication authentication)
        Specified by:
        logout in interface org.springframework.security.web.authentication.logout.LogoutHandler