@Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }

    ViewInstanceEntity that = (ViewInstanceEntity) o;

    return name.equals(that.name) && viewName.equals(that.viewName);
  }
Set the security helper.

@param securityHelper the helper
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewInstanceEntity.java