presto-main/src/main/java/io/prestosql/security/SecurityContext.java/SecurityContext/equals
class SecurityContext:    @Override
    public boolean equals(Object o)
    {
        // this is needed by io.prestosql.sql.analyzer.Analysis.AccessControlInfo
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        SecurityContext that = (SecurityContext) o;
        return Objects.equals(transactionId, that.transactionId) &&
                Objects.equals(identity, that.identity);
    }