@@ -91,7 +91,7 @@ public void testUnencryptedConnectionShouldOpenSuccessfullyWhenProvidedValidCred
9191 userTest );
9292 properties .put (ArrowFlightConnectionProperty .PASSWORD .camelName (),
9393 passTest );
94- properties .put ("ssl " , false );
94+ properties .put ("useEncryption " , false );
9595
9696 try (Connection connection = DriverManager .getConnection (
9797 "jdbc:arrow-flight://" + FLIGHT_SERVER_TEST_RULE .getHost () + ":" +
@@ -154,7 +154,7 @@ public void testUnencryptedConnectionProvidingInvalidPort()
154154 userTest );
155155 properties .put (ArrowFlightConnectionProperty .PASSWORD .camelName (),
156156 passTest );
157- properties .put (ArrowFlightConnectionProperty .SSL .camelName (),
157+ properties .put (ArrowFlightConnectionProperty .USE_ENCRYPTION .camelName (),
158158 false );
159159 final String invalidUrl = "jdbc:arrow-flight://" + FLIGHT_SERVER_TEST_RULE .getHost () +
160160 ":" + 65537 ;
@@ -192,7 +192,7 @@ public void testUnencryptedConnectionShouldOpenSuccessfullyWithoutAuthentication
192192 properties .put (ArrowFlightConnectionProperty .HOST .camelName (), "localhost" );
193193 properties .put (ArrowFlightConnectionProperty .PORT .camelName (),
194194 FLIGHT_SERVER_TEST_RULE .getPort ());
195- properties .put (ArrowFlightConnectionProperty .SSL .camelName (),
195+ properties .put (ArrowFlightConnectionProperty .USE_ENCRYPTION .camelName (),
196196 false );
197197 try (Connection connection = DriverManager
198198 .getConnection ("jdbc:arrow-flight://localhost:32010" , properties )) {
@@ -217,7 +217,7 @@ public void testUnencryptedConnectionShouldThrowExceptionWhenProvidedWithInvalid
217217 "invalidUser" );
218218 properties .put (ArrowFlightConnectionProperty .PORT .camelName (),
219219 FLIGHT_SERVER_TEST_RULE .getPort ());
220- properties .put (ArrowFlightConnectionProperty .SSL .camelName (),
220+ properties .put (ArrowFlightConnectionProperty .USE_ENCRYPTION .camelName (),
221221 false );
222222 properties .put (ArrowFlightConnectionProperty .PASSWORD .camelName (),
223223 "invalidPassword" );
@@ -241,7 +241,7 @@ public void testTLSConnectionPropertyFalseCorrectCastUrlWithDriverManager() thro
241241
242242 Connection connection = DriverManager .getConnection (
243243 String .format (
244- "jdbc:arrow-flight://localhost:%s?user=%s&password=%s&ssl =false" ,
244+ "jdbc:arrow-flight://localhost:%s?user=%s&password=%s&useEncryption =false" ,
245245 FLIGHT_SERVER_TEST_RULE .getPort (),
246246 userTest ,
247247 passTest ));
@@ -267,7 +267,7 @@ public void testTLSConnectionPropertyFalseCorrectCastUrlAndPropertiesUsingSetPro
267267 userTest );
268268 properties .setProperty (ArrowFlightConnectionProperty .PASSWORD .camelName (),
269269 passTest );
270- properties .setProperty (ArrowFlightConnectionProperty .SSL .camelName (), "false" );
270+ properties .setProperty (ArrowFlightConnectionProperty .USE_ENCRYPTION .camelName (), "false" );
271271
272272 Connection connection = DriverManager .getConnection (
273273 String .format (
@@ -295,7 +295,7 @@ public void testTLSConnectionPropertyFalseCorrectCastUrlAndPropertiesUsingPutWit
295295 userTest );
296296 properties .put (ArrowFlightConnectionProperty .PASSWORD .camelName (),
297297 passTest );
298- properties .put (ArrowFlightConnectionProperty .SSL .camelName (), false );
298+ properties .put (ArrowFlightConnectionProperty .USE_ENCRYPTION .camelName (), false );
299299
300300 Connection connection = DriverManager .getConnection (
301301 String .format (
@@ -320,7 +320,7 @@ public void testTLSConnectionPropertyFalseIntegerCorrectCastUrlWithDriverManager
320320
321321 Connection connection = DriverManager .getConnection (
322322 String .format (
323- "jdbc:arrow-flight://localhost:%s?user=%s&password=%s&ssl =0" ,
323+ "jdbc:arrow-flight://localhost:%s?user=%s&password=%s&useEncryption =0" ,
324324 FLIGHT_SERVER_TEST_RULE .getPort (),
325325 userTest ,
326326 passTest ));
@@ -346,7 +346,7 @@ public void testTLSConnectionPropertyFalseIntegerCorrectCastUrlAndPropertiesUsin
346346 userTest );
347347 properties .setProperty (ArrowFlightConnectionProperty .PASSWORD .camelName (),
348348 passTest );
349- properties .setProperty (ArrowFlightConnectionProperty .SSL .camelName (), "0" );
349+ properties .setProperty (ArrowFlightConnectionProperty .USE_ENCRYPTION .camelName (), "0" );
350350
351351 Connection connection = DriverManager .getConnection (
352352 String .format (
@@ -375,7 +375,7 @@ public void testTLSConnectionPropertyFalseIntegerCorrectCastUrlAndPropertiesUsin
375375 userTest );
376376 properties .put (ArrowFlightConnectionProperty .PASSWORD .camelName (),
377377 passTest );
378- properties .put (ArrowFlightConnectionProperty .SSL .camelName (), 0 );
378+ properties .put (ArrowFlightConnectionProperty .USE_ENCRYPTION .camelName (), 0 );
379379
380380 Connection connection = DriverManager .getConnection (
381381 String .format (
@@ -400,7 +400,7 @@ public void testThreadPoolSizeConnectionPropertyCorrectCastUrlWithDriverManager(
400400
401401 Connection connection = DriverManager .getConnection (
402402 String .format (
403- "jdbc:arrow-flight://localhost:%s?user=%s&password=%s&threadPoolSize=1&ssl =%s" ,
403+ "jdbc:arrow-flight://localhost:%s?user=%s&password=%s&threadPoolSize=1&useEncryption =%s" ,
404404 FLIGHT_SERVER_TEST_RULE .getPort (),
405405 userTest ,
406406 passTest ,
@@ -428,7 +428,7 @@ public void testThreadPoolSizeConnectionPropertyCorrectCastUrlAndPropertiesUsing
428428 properties .setProperty (ArrowFlightConnectionProperty .PASSWORD .camelName (),
429429 passTest );
430430 properties .setProperty (ArrowFlightConnectionProperty .THREAD_POOL_SIZE .camelName (), "1" );
431- properties .put ("ssl " , false );
431+ properties .put ("useEncryption " , false );
432432
433433 Connection connection = DriverManager .getConnection (
434434 String .format (
@@ -458,7 +458,7 @@ public void testThreadPoolSizeConnectionPropertyCorrectCastUrlAndPropertiesUsing
458458 properties .put (ArrowFlightConnectionProperty .PASSWORD .camelName (),
459459 passTest );
460460 properties .put (ArrowFlightConnectionProperty .THREAD_POOL_SIZE .camelName (), 1 );
461- properties .put ("ssl " , false );
461+ properties .put ("useEncryption " , false );
462462
463463 Connection connection = DriverManager .getConnection (
464464 String .format (
@@ -483,7 +483,7 @@ public void testPasswordConnectionPropertyIntegerCorrectCastUrlWithDriverManager
483483
484484 Connection connection = DriverManager .getConnection (
485485 String .format (
486- "jdbc:arrow-flight://localhost:%s?user=%s&password=%s&ssl =%s" ,
486+ "jdbc:arrow-flight://localhost:%s?user=%s&password=%s&useEncryption =%s" ,
487487 FLIGHT_SERVER_TEST_RULE .getPort (),
488488 userTest ,
489489 passTest ,
@@ -510,7 +510,7 @@ public void testPasswordConnectionPropertyIntegerCorrectCastUrlAndPropertiesUsin
510510 userTest );
511511 properties .setProperty (ArrowFlightConnectionProperty .PASSWORD .camelName (),
512512 passTest );
513- properties .put ("ssl " , false );
513+ properties .put ("useEncryption " , false );
514514
515515 Connection connection = DriverManager .getConnection (
516516 String .format (
@@ -539,7 +539,7 @@ public void testPasswordConnectionPropertyIntegerCorrectCastUrlAndPropertiesUsin
539539 userTest );
540540 properties .put (ArrowFlightConnectionProperty .PASSWORD .camelName (),
541541 passTest );
542- properties .put ("ssl " , false );
542+ properties .put ("useEncryption " , false );
543543
544544 Connection connection = DriverManager .getConnection (
545545 String .format (
0 commit comments