Class TestGenerateDelegationToken
java.lang.Object
org.apache.hadoop.hbase.security.token.SecureTestCluster
org.apache.hadoop.hbase.security.token.TestGenerateDelegationToken
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.security.token.SecureTestCluster
TEST_UTIL, USERNAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<Object>
static void
setUp()
void
void
Confirm that we can connect to cluster successfully when there is only token present, i.e, no kerberos ticketprivate void
void
Confirm that we will use delegation token first if token and kerberos tickets are both presentMethods inherited from class org.apache.hadoop.hbase.security.token.SecureTestCluster
setTestRunner, tearDown
-
Field Details
-
CLASS_RULE
-
rpcClientImpl
-
-
Constructor Details
-
TestGenerateDelegationToken
public TestGenerateDelegationToken()
-
-
Method Details
-
setUp
- Throws:
Exception
-
parameters
-
setUpBeforeMethod
-
testToken
- Throws:
Exception
-
testTokenFirst
Confirm that we will use delegation token first if token and kerberos tickets are both present- Throws:
Exception
-
testOnlyToken
Confirm that we can connect to cluster successfully when there is only token present, i.e, no kerberos ticket- Throws:
Exception
-