public class KerberosTestEnvironment extends Object implements TestEnvironment
| Modifier and Type | Field and Description |
|---|---|
static String |
JAVA_SECURITY_KRB5_CONF |
static String |
SUN_SECURITY_KRB5_DEBUG |
protected static File |
TEMP_DIR |
protected static File |
TEMP_KEYTABS_DIR |
static String |
TRUE |
| Modifier and Type | Method and Description |
|---|---|
void |
configureMiniAccumulo(org.apache.accumulo.minicluster.MiniAccumuloConfig cfg,
org.apache.hadoop.conf.Configuration coreSite) |
TestEnvironment[] |
getDependentEnvironments() |
static KerberosTestEnvironment |
getInstance() |
org.apache.accumulo.cluster.ClusterUser |
getRootUser() |
boolean |
isRunning() |
void |
setup() |
void |
tearDown() |
static boolean |
useKerberos() |
protected static final File TEMP_DIR
protected static final File TEMP_KEYTABS_DIR
public static final String TRUE
public static final String JAVA_SECURITY_KRB5_CONF
public static final String SUN_SECURITY_KRB5_DEBUG
public static KerberosTestEnvironment getInstance()
public boolean isRunning()
public static boolean useKerberos()
public void setup()
throws Exception
setup in interface TestEnvironmentExceptionpublic void tearDown()
throws Exception
tearDown in interface TestEnvironmentExceptionpublic TestEnvironment[] getDependentEnvironments()
getDependentEnvironments in interface TestEnvironmentpublic void configureMiniAccumulo(org.apache.accumulo.minicluster.MiniAccumuloConfig cfg,
org.apache.hadoop.conf.Configuration coreSite)
public org.apache.accumulo.cluster.ClusterUser getRootUser()
Copyright © 2013–2021. All rights reserved.