Class AbstractDigestZkACLAndCredentialsProvidersTestBase

java.lang.Object
org.junit.Assert
org.apache.lucene.tests.util.LuceneTestCase
org.apache.solr.SolrTestCase
org.apache.solr.SolrTestCaseJ4
org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase

public class AbstractDigestZkACLAndCredentialsProvidersTestBase extends SolrTestCaseJ4
  • Field Details

  • Constructor Details

    • AbstractDigestZkACLAndCredentialsProvidersTestBase

      public AbstractDigestZkACLAndCredentialsProvidersTestBase()
  • Method Details

    • beforeClass

      public static void beforeClass()
    • afterClass

      public static void afterClass()
    • setUp

      public void setUp() throws Exception
      Overrides:
      setUp in class SolrTestCaseJ4
      Throws:
      Exception
    • tearDown

      public void tearDown() throws Exception
      Overrides:
      tearDown in class SolrTestCaseJ4
      Throws:
      Exception
    • testNoCredentials

      public void testNoCredentials() throws Exception
      Throws:
      Exception
    • testWrongCredentials

      public void testWrongCredentials() throws Exception
      Throws:
      Exception
    • testAllCredentials

      public void testAllCredentials() throws Exception
      Throws:
      Exception
    • testReadonlyCredentials

      public void testReadonlyCredentials() throws Exception
      Throws:
      Exception
    • testInjectors

      protected void testInjectors(List<org.apache.solr.cloud.AbstractDigestZkACLAndCredentialsProvidersTestBase.TestZkCredentialsInjector> testZkCredentialsInjectors, boolean getData, boolean list, boolean create, boolean setData, boolean delete, boolean secureGet, boolean secureList, boolean secureCreate, boolean secureSet, boolean secureDelete) throws Exception
      Throws:
      Exception
    • testRepairACL

      public void testRepairACL() throws Exception
      Throws:
      Exception
    • doTest

      public static void doTest(org.apache.solr.common.cloud.SolrZkClient zkClient, boolean getData, boolean list, boolean create, boolean setData, boolean delete, boolean secureGet, boolean secureList, boolean secureCreate, boolean secureSet, boolean secureDelete) throws Exception
      Throws:
      Exception
    • doTest

      protected static void doTest(org.apache.solr.common.cloud.SolrZkClient zkClient, String path, boolean getData, boolean list, boolean create, boolean setData, boolean delete) throws Exception
      Throws:
      Exception
    • testVMParamsAllCredentialsFromFile

      public void testVMParamsAllCredentialsFromFile() throws Exception
      Throws:
      Exception
    • testVMParamsReadonlyCredentialsFromFile

      public void testVMParamsReadonlyCredentialsFromFile() throws Exception
      Throws:
      Exception