Class TestPrestoLdapCli

  • All Implemented Interfaces:
    io.prestosql.tempto.RequirementsProvider

    public class TestPrestoLdapCli
    extends PrestoCliLauncher
    implements io.prestosql.tempto.RequirementsProvider
    • Constructor Detail

      • TestPrestoLdapCli

        public TestPrestoLdapCli()
                          throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • stopPresto

        public void stopPresto()
                        throws java.lang.InterruptedException
        Overrides:
        stopPresto in class PrestoCliLauncher
        Throws:
        java.lang.InterruptedException
      • getRequirements

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

        public void shouldRunQueryWithLdap()
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldRunBatchQueryWithLdap

        public void shouldRunBatchQueryWithLdap()
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldRunQueryFromFileWithLdap

        public void shouldRunQueryFromFileWithLdap()
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldPassQueryForLdapUserInMultipleGroups

        public void shouldPassQueryForLdapUserInMultipleGroups()
                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldFailQueryForLdapUserInChildGroup

        public void shouldFailQueryForLdapUserInChildGroup()
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldFailQueryForLdapUserInParentGroup

        public void shouldFailQueryForLdapUserInParentGroup()
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldFailQueryForOrphanLdapUser

        public void shouldFailQueryForOrphanLdapUser()
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldFailQueryForWrongLdapPassword

        public void shouldFailQueryForWrongLdapPassword()
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldFailQueryForWrongLdapUser

        public void shouldFailQueryForWrongLdapUser()
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldFailQueryForEmptyUser

        public void shouldFailQueryForEmptyUser()
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldFailQueryForLdapWithoutPassword

        public void shouldFailQueryForLdapWithoutPassword()
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldFailQueryForLdapWithoutHttps

        public void shouldFailQueryForLdapWithoutHttps()
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldFailForIncorrectTrustStore

        public void shouldFailForIncorrectTrustStore()
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldPassForCredentialsWithSpecialCharacters

        public void shouldPassForCredentialsWithSpecialCharacters()
                                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldFailForUserWithColon

        public void shouldFailForUserWithColon()
                                        throws java.io.IOException
        Throws:
        java.io.IOException