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

            Credentials that = (Credentials) o;

            return Objects.equals(this.user, that.user) &&
                    Objects.equals(this.password, that.password);
        }