in ambari-server/src/main/java/org/apache/ambari/server/security/authorization/LdapServerProperties.java [200:232]
public boolean equals(Object obj) {
if (this == obj) return true;
if (obj == null || getClass() != obj.getClass()) return false;
LdapServerProperties that = (LdapServerProperties) obj;
if (primaryUrl != null ? !primaryUrl.equals(that.primaryUrl) : that.primaryUrl != null) return false;
if (secondaryUrl != null ? !secondaryUrl.equals(that.secondaryUrl) : that.secondaryUrl != null) return false;
if (useSsl!=that.useSsl) return false;
if (anonymousBind!=that.anonymousBind) return false;
if (managerDn != null ? !managerDn.equals(that.managerDn) : that.managerDn != null) return false;
if (managerPassword != null ? !managerPassword.equals(that.managerPassword) : that.managerPassword != null)
return false;
if (baseDN != null ? !baseDN.equals(that.baseDN) : that.baseDN != null) return false;
if (userSearchBase != null ? !userSearchBase.equals(that.userSearchBase) : that.userSearchBase != null)
return false;
if (usernameAttribute != null ? !usernameAttribute.equals(that.usernameAttribute) : that.usernameAttribute != null)
return false;
if (groupBase != null ? !groupBase.equals(that.groupBase) :
that.groupBase != null) return false;
if (groupObjectClass != null ? !groupObjectClass.equals(that.groupObjectClass) :
that.groupObjectClass != null) return false;
if (groupMembershipAttr != null ? !groupMembershipAttr.equals(
that.groupMembershipAttr) : that.groupMembershipAttr != null) return false;
if (groupNamingAttr != null ? !groupNamingAttr.equals(that.groupNamingAttr) :
that.groupNamingAttr != null) return false;
if (adminGroupMappingRules != null ? !adminGroupMappingRules.equals(
that.adminGroupMappingRules) : that.adminGroupMappingRules != null) return false;
if (groupSearchFilter != null ? !groupSearchFilter.equals(
that.groupSearchFilter) : that.groupSearchFilter != null) return false;
return true;
}