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

public class TestLdapTrinoJdbc extends BaseLdapJdbcTest
  • Constructor Details

    • TestLdapTrinoJdbc

      public TestLdapTrinoJdbc()
  • Method Details

    • getLdapUrlFormat

      protected String getLdapUrlFormat()
      Specified by:
      getLdapUrlFormat in class BaseLdapJdbcTest
    • shouldRunQueryWithLdap

      public void shouldRunQueryWithLdap() throws SQLException
      Throws:
      SQLException
    • shouldRunQueryWithAlternativeBind

      public void shouldRunQueryWithAlternativeBind() throws SQLException
      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

      public void shouldRunQueryWithFileAuthenticator() throws SQLException
      Throws:
      SQLException
    • shouldRunQueryForAnotherUserWithOnlyFileAuthenticator

      public void shouldRunQueryForAnotherUserWithOnlyFileAuthenticator() throws SQLException
      Throws:
      SQLException
    • expectQueryToFail

      protected void expectQueryToFail(String user, String password, String message)
      Overrides:
      expectQueryToFail in class BaseLdapJdbcTest