docs: public static CookieGenerationContext buildCookieGenerationContext(final TicketGrantingCookieProperties cookie) {
          val rememberMeMaxAge = (int) Beans.newDuration(cookie.getRememberMeMaxAge()).getSeconds();
          val builder = buildCookieGenerationContextBuilder(cookie);
          return builder.rememberMeMaxAge(rememberMeMaxAge).build();
      }