Package io.trino.tests.jdbc
Class TestLdapTrinoJdbc
- java.lang.Object
-
- io.trino.tempto.ProductTest
-
- io.trino.tests.jdbc.BaseLdapJdbcTest
-
- io.trino.tests.jdbc.TestLdapTrinoJdbc
-
- All Implemented Interfaces:
io.trino.tempto.RequirementsProvider
public class TestLdapTrinoJdbc extends BaseLdapJdbcTest
-
-
Field Summary
-
Fields inherited from class io.trino.tests.jdbc.BaseLdapJdbcTest
ldapTruststorePassword, ldapTruststorePath, ldapUserName, ldapUserPassword, NATION_SELECT_ALL_QUERY, TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description TestLdapTrinoJdbc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetLdapUrlFormat()voidshouldFailForIncorrectTrustStore()voidshouldFailForUserWithColon()voidshouldFailQueryForEmptyUser()voidshouldFailQueryForLdapUserInChildGroup()voidshouldFailQueryForLdapUserInParentGroup()voidshouldFailQueryForLdapWithoutPassword()voidshouldFailQueryForLdapWithoutSsl()voidshouldFailQueryForOrphanLdapUser()voidshouldFailQueryForWrongLdapPassword()voidshouldFailQueryForWrongLdapUser()voidshouldRunQueryWithLdap()-
Methods inherited from class io.trino.tests.jdbc.BaseLdapJdbcTest
executeLdapQuery, expectQueryToFail, getLdapUrl, getRequirements, prestoServer
-
-
-
-
Method Detail
-
getLdapUrlFormat
protected String getLdapUrlFormat()
- Specified by:
getLdapUrlFormatin classBaseLdapJdbcTest
-
shouldRunQueryWithLdap
public void shouldRunQueryWithLdap() throws SQLException- Throws:
SQLException
-
shouldFailQueryForLdapUserInChildGroup
public void shouldFailQueryForLdapUserInChildGroup()
-
shouldFailQueryForLdapUserInParentGroup
public void shouldFailQueryForLdapUserInParentGroup()
-
shouldFailQueryForOrphanLdapUser
public void shouldFailQueryForOrphanLdapUser()
-
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()
-
-