public void setSecure(final boolean secure) {
        this.secure = secure;
    }
<p>Setter for the field <code>secure</code>.</p>

@param secure a boolean
pac4j-core/src/main/java/org/pac4j/core/context/Cookie.java