docs: @Override
      public void addSSOCookiesToResponse(Subject subject, HttpServletRequest req, HttpServletResponse resp) {
          if (!allowToAddCookieToResponse(req))
              return;
  
          addJwtSsoCookiesToResponse(subject, req, resp);
  
          if (!JwtSSOTokenHelper.shouldAlsoIncludeLtpaCookie()) {
              return;
          }
  
          SingleSignonToken ssoToken = getDefaultSSOTokenFromSubject(subject);
          if (ssoToken == null) {
              return;
          }
  
          byte[] ssoTokenBytes = ssoToken.getBytes();
          if (ssoTokenBytes == null) {
              return;
          }
  
          ByteArray cookieBytes = new ByteArray(ssoTokenBytes);
          String cookieByteString = cookieByteStringCache.get(cookieBytes);
          if (cookieByteString == null) {
              cookieByteString = StringUtil.toString(Base64Coder.base64Encode(ssoTokenBytes));
              updateCookieCache(cookieBytes, cookieByteString);
          }
  
          Cookie ssoCookie = createCookie(req, cookieByteString);
          resp.addCookie(ssoCookie);
      }