public class TestVerifyReplicationSecureClusterCredentials extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static String |
CLUSTER_PRINCIPAL |
private static String |
FULL_USER_PRINCIPAL |
private static String |
HTTP_PRINCIPAL |
private static org.apache.hadoop.minikdc.MiniKdc |
KDC |
private static File |
KEYTAB_FILE |
private static String |
LOCALHOST |
Supplier<String> |
peer |
private static HBaseTestingUtility |
UTIL1 |
private static HBaseTestingUtility |
UTIL2 |
Constructor and Description |
---|
TestVerifyReplicationSecureClusterCredentials() |
Modifier and Type | Method and Description |
---|---|
static void |
beforeClass()
Sets the security firstly for getting the correct default realm.
|
static void |
cleanup() |
static Collection<Supplier<String>> |
peer() |
private static void |
setupCluster(HBaseTestingUtility util) |
private static void |
setUpKdcServer() |
void |
testJobCredentials() |
public static final HBaseClassTestRule CLASS_RULE
private static org.apache.hadoop.minikdc.MiniKdc KDC
private static final HBaseTestingUtility UTIL1
private static final HBaseTestingUtility UTIL2
private static final File KEYTAB_FILE
private static final String LOCALHOST
private static String CLUSTER_PRINCIPAL
private static String FULL_USER_PRINCIPAL
private static String HTTP_PRINCIPAL
public TestVerifyReplicationSecureClusterCredentials()
private static void setUpKdcServer() throws Exception
Exception
private static void setupCluster(HBaseTestingUtility util) throws Exception
Exception
public static void beforeClass() throws Exception
Exception
public static void cleanup() throws IOException
IOException
public static Collection<Supplier<String>> peer()
public void testJobCredentials() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.