@SuppressWarnings({"UnusedDeclaration"})
    public void setCookie(Cookie cookie) {
        this.cookie = cookie;
    }
Sets the cookie 'template' that will be used to set all attributes of outgoing rememberMe cookies created by
this {@code RememberMeManager}.  Outgoing cookies will match this one except for the
{@link Cookie#getValue() value} attribute, which is necessarily set dynamically at runtime.
<p/>
Please see the class-level JavaDoc for the default cookie's attribute values.

@param cookie the cookie 'template' that will be used to set all attributes of outgoing rememberMe cookies created
              by this {@code RememberMeManager}.
web/src/main/java/org/apache/shiro/web/mgt/CookieRememberMeManager.java