To configure the driver to use no (None) authentication.
  • Specify values for minimum required properties for establishing a connection.
    • Set the ServerName property to specify either the IP address in IPv4 or IPv6 format, or the server name for your server.
    • Set the PortNumber property to specify the TCP port of the primary database server that is listening for connections to the database.
    • Set the DatabaseName property to specify the name of the database to which you are connecting.
  • Set the AuthenticationMethod property to None.

The following examples demonstrate how to make a connection using the no authentication method.

Connection URL:

Connection conn = DriverManager.getConnection
("jdbc:datadirect:impala://myserver:21050;DatabaseName=dbname);

Data Source:

ImpalaDataSource mds = new ImpalaDataSource();
mds.setDescription("My Impala Data Source");
mds.setServerName("server_name");
mds.setPort("port");
mds.setAuthenticationMethod("none");
mds.setDatabaseName("ImpalaDB");