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

    RoleAuthorizationEntity that = (RoleAuthorizationEntity) o;

    return !(authorizationId != null ? !authorizationId.equals(that.authorizationId) : that.authorizationId != null) &&
        !(authorizationName != null ? !authorizationName.equals(that.authorizationName) : that.authorizationName != null);
  }
Set the authorization name.

@param authorizationName the authorization name
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RoleAuthorizationEntity.java