Package io.trino.tests.product.jdbc
Class BaseLdapJdbcTest
java.lang.Object
io.trino.tempto.ProductTest
io.trino.tests.product.jdbc.BaseLdapJdbcTest
- All Implemented Interfaces:
io.trino.tempto.RequirementsProvider
- Direct Known Subclasses:
TestLdapTrinoJdbc
public abstract class BaseLdapJdbcTest
extends io.trino.tempto.ProductTest
implements io.trino.tempto.RequirementsProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected io.trino.tempto.query.QueryResultexecuteLdapQuery(String query, String name, String password) protected voidexpectQueryToFail(String user, String password, String message) protected Stringprotected abstract Stringio.trino.tempto.RequirementgetRequirements(io.trino.tempto.configuration.Configuration configuration) protected String
-
Field Details
-
TIMEOUT
protected static final long TIMEOUT- See Also:
-
NATION_SELECT_ALL_QUERY
- See Also:
-
ldapTruststorePath
-
ldapTruststorePassword
-
ldapUserName
-
ldapUserPassword
-
-
Constructor Details
-
BaseLdapJdbcTest
public BaseLdapJdbcTest()
-
-
Method Details
-
getRequirements
public io.trino.tempto.Requirement getRequirements(io.trino.tempto.configuration.Configuration configuration) - Specified by:
getRequirementsin interfaceio.trino.tempto.RequirementsProvider
-
expectQueryToFail
-
executeLdapQuery
protected io.trino.tempto.query.QueryResult executeLdapQuery(String query, String name, String password) throws SQLException - Throws:
SQLException
-
prestoServer
-
getLdapUrl
-
getLdapUrlFormat
-