public class TestGenerateDelegationToken extends SecureTestCluster
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
String |
rpcClientImpl |
TEST_UTIL, USERNAME
Constructor and Description |
---|
TestGenerateDelegationToken() |
Modifier and Type | Method and Description |
---|---|
static Collection<Object> |
parameters() |
static void |
setUp() |
void |
setUpBeforeMethod() |
void |
testOnlyToken()
Confirm that we can connect to cluster successfully when there is only token present, i.e, no
kerberos ticket
|
private void |
testToken() |
void |
testTokenFirst()
Confirm that we will use delegation token first if token and kerberos tickets are both present
|
setTestRunner, tearDown
public static final HBaseClassTestRule CLASS_RULE
public String rpcClientImpl
public TestGenerateDelegationToken()
public static Collection<Object> parameters()
public void setUpBeforeMethod()
public void testTokenFirst() throws Exception
Exception
public void testOnlyToken() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.