private static class TestZKSecretWatcher.AuthenticationTokenSecretManagerForTest extends org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManager
Modifier and Type | Field and Description |
---|---|
private CountDownLatch |
latch |
Constructor and Description |
---|
AuthenticationTokenSecretManagerForTest(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.zookeeper.ZKWatcher zk,
String serverName,
long keyUpdateInterval,
long tokenMaxLifetime) |
Modifier and Type | Method and Description |
---|---|
(package private) CountDownLatch |
getLatch() |
(package private) boolean |
removeKey(Integer keyId) |
addKey, createIdentifier, createPassword, createSecretKey, generateToken, getCurrentKey, getKey, getLastKeyUpdate, getName, isCurrentKeyRolled, isMaster, removeExpiredKeys, retrievePassword, rollCurrentKey, start, stop
private CountDownLatch latch
public AuthenticationTokenSecretManagerForTest(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.zookeeper.ZKWatcher zk, String serverName, long keyUpdateInterval, long tokenMaxLifetime)
boolean removeKey(Integer keyId)
removeKey
in class org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManager
CountDownLatch getLatch()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.