@Override
    public boolean equals(Object obj) {
        if(this == obj) {
            return true;
        }
        if(obj == null) {
            return false;
        }
        if(getClass() != obj.getClass()) {
            return false;
        }
        CamLocalUser other = (CamLocalUser) obj;
        if(this.name == null) {
            if(other.name != null) {
                return false;
            }
        } else if(!this.name.equals(other.name)) {
            return false;
        }
        if(this.role == null) {
            if(other.role != null) {
                return false;
            }
        } else if(!this.role.equals(other.role)) {
            return false;
        }
        return true;
    }