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

    RequiredPasswordValidator that = (RequiredPasswordValidator) o;

    return defaultPassword == null ? that.defaultPassword == null : defaultPassword.equals(that.defaultPassword);
  }
Attempt to set the default password in cluster configuration for missing password property.

@param configType       configuration type
@param property         password property name

@return true if password was set, otherwise false.  Currently the password will always be set
        unless it is null
ambari-server/src/main/java/org/apache/ambari/server/topology/validators/RequiredPasswordValidator.java