Class TestZKSecretWatcher
java.lang.Object
org.apache.hadoop.hbase.security.token.TestZKSecretWatcher
Test the synchronization of token authentication master keys through ZKSecretWatcher
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManager
private static TestZKSecretWatcher.AuthenticationTokenSecretManagerForTest
private static org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManager
private static org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManager
private static final org.slf4j.Logger
private static HBaseTestingUtil
-
Constructor Summary
-
Method Summary
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
KEY_MASTER
-
KEY_SLAVE
-
KEY_SLAVE2
-
KEY_SLAVE3
-
-
Constructor Details
-
TestZKSecretWatcher
public TestZKSecretWatcher()
-
-
Method Details
-
setupBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testKeyUpdate
- Throws:
Exception
-
newZK
private static org.apache.hadoop.hbase.zookeeper.ZKWatcher newZK(org.apache.hadoop.conf.Configuration conf, String name, org.apache.hadoop.hbase.Abortable abort) throws Exception - Throws:
Exception
-