@Override
    public boolean equals(Object other) {
        if (other == this) {
            return true;
        }
        if ((other instanceof ContentSecurityPolicyBean) == false) {
            return false;
        }
        ContentSecurityPolicyBean rhs = ((ContentSecurityPolicyBean) other);
        return new EqualsBuilder().append(mode, rhs.mode).append(csp, rhs.csp)
                .append(additionalProperties, rhs.additionalProperties).isEquals();
    }
Content Security Policy Definition
<p>
Valid CSP definition must be provided.

@param csp The csp
plugins/http-security-policy/src/main/java/io/apiman/plugins/httpsecuritypolicy/beans/ContentSecurityPolicyBean.java