Skip to content

Commit be6b4c2

Browse files
committed
Disable HTTP basic auth
1 parent 441e836 commit be6b4c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jdbc-v2/src/test/java/com/clickhouse/jdbc/ConnectionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ public void testJWTWithCloud() throws Exception {
921921
Properties properties = new Properties();
922922
properties.put(ClientConfigProperties.ACCESS_TOKEN.getKey(), jwt);
923923
properties.put(ClientConfigProperties.USER.getKey(), "default");
924-
properties.put(ClientConfigProperties.HTTP_USE_BASIC_AUTH, false);
924+
properties.put(ClientConfigProperties.HTTP_USE_BASIC_AUTH.getKey(), false);
925925
properties.put(ClientConfigProperties.DATABASE.getKey(), getDatabase());
926926

927927
try (Connection conn = new ConnectionImpl(getEndpointString(), properties)) {

0 commit comments

Comments
 (0)