Package io.trino.tests.product.jdbc
Class TestLdapTrinoJdbc
java.lang.Object
io.trino.tempto.ProductTest
io.trino.tests.product.jdbc.BaseLdapJdbcTest
io.trino.tests.product.jdbc.TestLdapTrinoJdbc
- All Implemented Interfaces:
io.trino.tempto.RequirementsProvider
-
Field Summary
Fields inherited from class io.trino.tests.product.jdbc.BaseLdapJdbcTest
ldapTruststorePassword, ldapTruststorePath, ldapUserName, ldapUserPassword, NATION_SELECT_ALL_QUERY, TIMEOUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexpectQueryToFail(String user, String password, String message) protected StringvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class io.trino.tests.product.jdbc.BaseLdapJdbcTest
executeLdapQuery, getLdapUrl, getRequirements, prestoServer
-
Constructor Details
-
TestLdapTrinoJdbc
public TestLdapTrinoJdbc()
-
-
Method Details
-
getLdapUrlFormat
- Specified by:
getLdapUrlFormatin classBaseLdapJdbcTest
-
shouldRunQueryWithLdap
- Throws:
SQLException
-
shouldRunQueryWithAlternativeBind
- Throws:
SQLException
-
shouldFailQueryForLdapUserInChildGroup
public void shouldFailQueryForLdapUserInChildGroup() -
shouldFailQueryForLdapUserInParentGroup
public void shouldFailQueryForLdapUserInParentGroup() -
shouldFailQueryForOrphanLdapUser
public void shouldFailQueryForOrphanLdapUser() -
shouldFailQueryForFailedBind
public void shouldFailQueryForFailedBind() -
shouldFailQueryForWrongLdapPassword
public void shouldFailQueryForWrongLdapPassword() -
shouldFailQueryForWrongLdapUser
public void shouldFailQueryForWrongLdapUser() -
shouldFailQueryForEmptyUser
public void shouldFailQueryForEmptyUser() -
shouldFailQueryForLdapWithoutPassword
public void shouldFailQueryForLdapWithoutPassword() -
shouldFailQueryForLdapWithoutSsl
public void shouldFailQueryForLdapWithoutSsl() -
shouldFailForIncorrectTrustStore
public void shouldFailForIncorrectTrustStore() -
shouldFailForUserWithColon
public void shouldFailForUserWithColon() -
shouldRunQueryWithFileAuthenticator
- Throws:
SQLException
-
shouldRunQueryForAnotherUserWithOnlyFileAuthenticator
- Throws:
SQLException
-
expectQueryToFail
- Overrides:
expectQueryToFailin classBaseLdapJdbcTest
-