Class TestTrinoLdapCli

java.lang.Object
io.trino.tempto.ProductTest
io.trino.tests.product.cli.TrinoCliLauncher
io.trino.tests.product.cli.TestTrinoLdapCli
All Implemented Interfaces:
io.trino.tempto.RequirementsProvider

public class TestTrinoLdapCli extends TrinoCliLauncher implements io.trino.tempto.RequirementsProvider
  • Constructor Details

  • Method Details

    • stopCli

      public void stopCli() throws InterruptedException
      Overrides:
      stopCli in class TrinoCliLauncher
      Throws:
      InterruptedException
    • getRequirements

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

      public void shouldRunQueryWithLdap() throws IOException
      Throws:
      IOException
    • shouldRunBatchQueryWithLdap

      public void shouldRunBatchQueryWithLdap() throws IOException
      Throws:
      IOException
    • shouldRunQueryFromFileWithLdap

      public void shouldRunQueryFromFileWithLdap() throws IOException
      Throws:
      IOException
    • shouldPassQueryForLdapUserInMultipleGroups

      public void shouldPassQueryForLdapUserInMultipleGroups() throws IOException
      Throws:
      IOException
    • shouldPassQueryForAlternativeLdapBind

      public void shouldPassQueryForAlternativeLdapBind() throws IOException
      Throws:
      IOException
    • shouldFailQueryForLdapUserInChildGroup

      public void shouldFailQueryForLdapUserInChildGroup() throws IOException
      Throws:
      IOException
    • shouldFailQueryForLdapUserInParentGroup

      public void shouldFailQueryForLdapUserInParentGroup() throws IOException
      Throws:
      IOException
    • shouldFailQueryForOrphanLdapUser

      public void shouldFailQueryForOrphanLdapUser() throws IOException
      Throws:
      IOException
    • shouldFailQueryForFailedBind

      public void shouldFailQueryForFailedBind() throws IOException
      Throws:
      IOException
    • shouldFailQueryForWrongLdapPassword

      public void shouldFailQueryForWrongLdapPassword() throws IOException
      Throws:
      IOException
    • shouldFailQueryForWrongLdapUser

      public void shouldFailQueryForWrongLdapUser() throws IOException
      Throws:
      IOException
    • shouldFailQueryForEmptyUser

      public void shouldFailQueryForEmptyUser() throws IOException
      Throws:
      IOException
    • shouldFailQueryForLdapWithoutPassword

      public void shouldFailQueryForLdapWithoutPassword() throws IOException
      Throws:
      IOException
    • shouldFailQueryForLdapWithoutHttps

      public void shouldFailQueryForLdapWithoutHttps() throws IOException
      Throws:
      IOException
    • shouldFailForIncorrectTrustStore

      public void shouldFailForIncorrectTrustStore() throws IOException
      Throws:
      IOException
    • shouldPassForCredentialsWithSpecialCharacters

      public void shouldPassForCredentialsWithSpecialCharacters() throws IOException
      Throws:
      IOException
    • shouldFailForUserWithColon

      public void shouldFailForUserWithColon() throws IOException
      Throws:
      IOException
    • shouldRunQueryWithFileAuthenticator

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

      public void shouldRunQueryForAnotherUserWithOnlyFileAuthenticator() throws IOException
      Throws:
      IOException