@Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (!(o instanceof AuthorizationsHolder)) {
      return false;
    }

    AuthorizationsHolder that = (AuthorizationsHolder) o;

    if (authorizations != null
        ? !authorizations.equals(that.authorizations)
        : that.authorizations != null) {
      return false;
    }
    if (visibilityEvaluator != null
        ? !visibilityEvaluator.equals(that.visibilityEvaluator)
        : that.visibilityEvaluator != null) {
      return false;
    }

    return true;
  }