parent
b91e9d85e9
commit
f92684c436
|
@ -14,7 +14,6 @@ import java.sql.Statement;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
import java.util.StringJoiner;
|
||||
|
||||
import static org.elasticsearch.xpack.qa.sql.jdbc.JdbcAssert.assertResultSets;
|
||||
import static org.elasticsearch.xpack.qa.sql.jdbc.JdbcIntegrationTestCase.elasticsearchAddress;
|
||||
|
@ -142,4 +141,4 @@ public class JdbcSecurityIT extends SqlSecurityTestCase {
|
|||
public JdbcSecurityIT() {
|
||||
super(new JdbcActions());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -75,7 +75,7 @@ public class ConnectionConfiguration {
|
|||
public static final String AUTH_PASS = "pass";
|
||||
|
||||
protected static final Set<String> OPTION_NAMES = new LinkedHashSet<>(
|
||||
Arrays.asList(CONNECT_TIMEOUT, NETWORK_TIMEOUT, QUERY_TIMEOUT, PAGE_TIMEOUT, PAGE_SIZE));
|
||||
Arrays.asList(CONNECT_TIMEOUT, NETWORK_TIMEOUT, QUERY_TIMEOUT, PAGE_TIMEOUT, PAGE_SIZE, AUTH_USER, AUTH_PASS));
|
||||
|
||||
static {
|
||||
OPTION_NAMES.addAll(SslConfig.OPTION_NAMES);
|
||||
|
@ -195,7 +195,7 @@ public class ConnectionConfiguration {
|
|||
public int pageSize() {
|
||||
return pageSize;
|
||||
}
|
||||
|
||||
|
||||
// auth
|
||||
public String authUser() {
|
||||
return user;
|
||||
|
@ -204,4 +204,4 @@ public class ConnectionConfiguration {
|
|||
public String authPass() {
|
||||
return pass;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue