public class TestMultipleServerPrincipalsFallbackToSimple extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static String |
CLIENT_PRINCIPAL |
private org.apache.hadoop.conf.Configuration |
clientConf |
private org.apache.hadoop.security.UserGroupInformation |
clientUGI |
private static String |
HOST |
private static org.apache.hadoop.minikdc.MiniKdc |
KDC |
private static File |
KEYTAB_FILE |
private org.apache.hadoop.hbase.ipc.RpcClient |
rpcClient |
Class<? extends org.apache.hadoop.hbase.ipc.RpcClient> |
rpcClientImpl |
private org.apache.hadoop.hbase.ipc.RpcServer |
rpcServer |
private static String |
SERVER_PRINCIPAL |
private static String |
SERVER_PRINCIPAL2 |
private static HBaseTestingUtil |
TEST_UTIL |
Constructor and Description |
---|
TestMultipleServerPrincipalsFallbackToSimple() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.ipc.RpcClient |
createClient() |
private String |
echo(String msg) |
static List<Object[]> |
params() |
private static void |
setSecuredConfiguration(org.apache.hadoop.conf.Configuration conf) |
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
void |
testAllowFallbackToSimple() |
void |
testDisallowFallbackToSimple() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtil TEST_UTIL
private static final File KEYTAB_FILE
private static org.apache.hadoop.minikdc.MiniKdc KDC
private static String SERVER_PRINCIPAL
private static String SERVER_PRINCIPAL2
private static String CLIENT_PRINCIPAL
public Class<? extends org.apache.hadoop.hbase.ipc.RpcClient> rpcClientImpl
private org.apache.hadoop.conf.Configuration clientConf
private org.apache.hadoop.security.UserGroupInformation clientUGI
private org.apache.hadoop.hbase.ipc.RpcServer rpcServer
private org.apache.hadoop.hbase.ipc.RpcClient rpcClient
public TestMultipleServerPrincipalsFallbackToSimple()
private static void setSecuredConfiguration(org.apache.hadoop.conf.Configuration conf)
public static void setUpBeforeClass() throws Exception
Exception
public void tearDown() throws IOException
IOException
private org.apache.hadoop.hbase.ipc.RpcClient createClient() throws Exception
Exception
public void testAllowFallbackToSimple() throws Exception
Exception
public void testDisallowFallbackToSimple() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.