code: @Override
      public void createLogoutCookies(HttpServletRequest req, HttpServletResponse res, boolean deleteJwtCookies) {
          Cookie[] cookies = req.getCookies();
          java.util.ArrayList<Cookie> logoutCookieList = new java.util.ArrayList<Cookie>();
          if (cookies != null) {
              String ssoCookieName = resolveCookieName(cookies);
              for (int i = 0; i < cookies.length; i++) {
                  if (cookies[i].getName().equalsIgnoreCase(ssoCookieName)) {
                      cookies[i].setValue(null);
                      addLogoutCookieToList(req, ssoCookieName, logoutCookieList);
                  }
              }
              if (deleteJwtCookies) {
                  logoutJwtCookies(req, cookies, logoutCookieList);
              }
              //TODO: deal with jwtsso's customizable cookie path.
              for (Cookie cookie : logoutCookieList) {
                  res.addCookie(cookie);
              }
          }
      }
docs: /*
  1) If we have the custom cookie name, then delete just the custom cookie name
  2) If we have the custom cookie name but no cookie found, then will delete the default cookie name LTPAToken2
  3) If jwtsso is active, clean up those cookies too.