presto-hive/src/main/java/io/prestosql/plugin/hive/authentication/HiveIdentity.java/HiveIdentity/equals
class HiveIdentity:    @Override
    public boolean equals(Object o)
    {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        HiveIdentity other = (HiveIdentity) o;
        return Objects.equals(username, other.username);
    }