@Override
    public void setDomain(String domain) {
        this.domain = domain;
    }
{@code -1} indicating that no version property should be set on the cookie.
web/src/main/java/org/apache/shiro/web/servlet/SimpleCookie.java