Class KerberosIT
- java.lang.Object
-
- org.apache.accumulo.harness.AccumuloITBase
-
- org.apache.accumulo.test.functional.KerberosIT
-
public class KerberosIT extends AccumuloITBase
MAC test which usesMiniKdc
to simulate ta secure environment. Can be used as a sanity check for Kerberos/SASL testing.
-
-
Field Summary
-
Fields inherited from class org.apache.accumulo.harness.AccumuloITBase
testName
-
-
Constructor Summary
Constructors Constructor Description KerberosIT()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
defaultTimeoutSeconds()
time to wait per-method before declaring a timeout, in seconds.static void
startKdc()
void
startMac()
static void
stopKdc()
void
stopMac()
void
testAdminUser()
void
testDelegationToken()
void
testDelegationTokenAsDifferentUser()
void
testDelegationTokenWithInvalidLifetime()
void
testDelegationTokenWithReducedLifetime()
void
testGetDelegationTokenDenied()
void
testNewUser()
void
testRestartedMasterReusesSecretKey()
void
testRootUserHasIrrevocablePermissions()
void
testUserPrivilegesForTable()
void
testUserPrivilegesThroughGrant()
-
Methods inherited from class org.apache.accumulo.harness.AccumuloITBase
createTestDir, getSslDir, getUniqueNames, testsShouldTimeout
-
-
-
-
Method Detail
-
defaultTimeoutSeconds
public int defaultTimeoutSeconds()
Description copied from class:AccumuloITBase
time to wait per-method before declaring a timeout, in seconds.- Overrides:
defaultTimeoutSeconds
in classAccumuloITBase
-
testUserPrivilegesThroughGrant
public void testUserPrivilegesThroughGrant() throws Exception
- Throws:
Exception
-
testUserPrivilegesForTable
public void testUserPrivilegesForTable() throws Exception
- Throws:
Exception
-
testDelegationTokenAsDifferentUser
public void testDelegationTokenAsDifferentUser() throws Exception
- Throws:
Exception
-
testGetDelegationTokenDenied
public void testGetDelegationTokenDenied() throws Exception
- Throws:
Exception
-
testRestartedMasterReusesSecretKey
public void testRestartedMasterReusesSecretKey() throws Exception
- Throws:
Exception
-
testDelegationTokenWithInvalidLifetime
public void testDelegationTokenWithInvalidLifetime() throws Throwable
- Throws:
Throwable
-
testDelegationTokenWithReducedLifetime
public void testDelegationTokenWithReducedLifetime() throws Throwable
- Throws:
Throwable
-
-