docs: public void store(final HttpServletRequest request, final HttpServletResponse response,
                        final String wctx, final Service service, final WsFederationConfiguration configuration) {
          val session = new HashMap<String, Object>();
          session.put(CasProtocolConstants.PARAMETER_SERVICE + '-' + wctx, service);
          val methods = request.getParameter(CasProtocolConstants.PARAMETER_METHOD);
          if (StringUtils.isNotBlank(methods)) {
              session.put(CasProtocolConstants.PARAMETER_METHOD + '-' + wctx, methods);
          }
          val locale = request.getAttribute(this.localParamName);
          if (locale != null) {
              session.put(this.localParamName + '-' + wctx, locale);
          }
          val theme = request.getAttribute(this.themeParamName);
          if (theme != null) {
              session.put(this.themeParamName + '-' + wctx, theme);
          }
  
          val cookieValue = serializeSessionValues(session);
          val cookieGen = configuration.getCookieGenerator();
          cookieGen.addCookie(request, response, cookieValue);
      }