You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Ilya Kasnacheev (JIRA)" <ji...@apache.org> on 2018/06/05 11:07:00 UTC

[jira] [Created] (IGNITE-8701) If Thin Client authentication is disabled on cluster, JDBC Thin Driver disallows supplying of login/password

Ilya Kasnacheev created IGNITE-8701:
---------------------------------------

             Summary: If Thin Client authentication is disabled on cluster, JDBC Thin Driver disallows supplying of login/password
                 Key: IGNITE-8701
                 URL: https://issues.apache.org/jira/browse/IGNITE-8701
             Project: Ignite
          Issue Type: Bug
          Components: jdbc
    Affects Versions: 2.5
            Reporter: Ilya Kasnacheev


Previously, Ignite JDBC clients would just ignore supplied login and password.
In 2.5, Ignite Thin JDBC driver will instead fail with following error:
{code}
The requested operation could not be performed due to the following error : Handshake failed [driverProtocolVer=ClientListenerProtocolVersion [major=2, minor=5, maintenance=0], remoteNodeProtocolVer=ClientListenerProtocolVersion [major=2, minor=5, maintenance=0], err=Handshake error: Can not perform the operation because the authentication is not enabled for the cluster.]
{code}
when connecting to the cluster where authentication is disabled.

This represents a *breaking change* in Apache Ignite API.

Note that many tools (such as Informatica) insist on providing non-blank username and-or password for JDBC connections. This will mean they *no longer work* with Apache Ignite with no apparent workaround.

My suggestion is to ignore login/password for JDBC Thin connections when authentication is not enabled for cluster.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)