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
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManagerprivate static TestZKSecretWatcher.AuthenticationTokenSecretManagerForTestprivate static org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManagerprivate static org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManagerprivate static final org.slf4j.Loggerprivate static HBaseTestingUtil - 
Constructor Summary
Constructors - 
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
 
 -