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 Details

    • TIMEOUT

      protected static final long TIMEOUT
      See Also:
    • NATION_SELECT_ALL_QUERY

      protected static final String NATION_SELECT_ALL_QUERY
      See Also:
    • ldapTruststorePath

      @Inject protected String ldapTruststorePath
    • ldapTruststorePassword

      @Inject protected String ldapTruststorePassword
    • ldapUserName

      @Inject protected String ldapUserName
    • ldapUserPassword

      @Inject protected String ldapUserPassword
  • Constructor Details

    • BaseLdapJdbcTest

      public BaseLdapJdbcTest()
  • Method Details

    • getRequirements

      public io.trino.tempto.Requirement getRequirements(io.trino.tempto.configuration.Configuration configuration)
      Specified by:
      getRequirements in interface io.trino.tempto.RequirementsProvider
    • expectQueryToFail

      protected void expectQueryToFail(String user, String password, String message)
    • executeLdapQuery

      protected io.trino.tempto.query.QueryResult executeLdapQuery(String query, String name, String password) throws SQLException
      Throws:
      SQLException
    • prestoServer

      protected String prestoServer()
    • getLdapUrl

      protected String getLdapUrl()
    • getLdapUrlFormat

      protected abstract String getLdapUrlFormat()