Class TestZKSecretWatcher.AuthenticationTokenSecretManagerForTest
java.lang.Object
org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.hbase.security.token.AuthenticationTokenIdentifier>
org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManager
org.apache.hadoop.hbase.security.token.TestZKSecretWatcher.AuthenticationTokenSecretManagerForTest
- Enclosing class:
- TestZKSecretWatcher
private static class TestZKSecretWatcher.AuthenticationTokenSecretManagerForTest
extends org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManager
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.security.token.SecretManager
org.apache.hadoop.security.token.SecretManager.InvalidToken
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManager
NAME_PREFIX
-
Constructor Summary
ConstructorDescriptionAuthenticationTokenSecretManagerForTest
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.zookeeper.ZKWatcher zk, String serverName, long keyUpdateInterval, long tokenMaxLifetime) -
Method Summary
Modifier and TypeMethodDescription(package private) CountDownLatch
getLatch()
(package private) boolean
Methods inherited from class org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManager
addKey, createIdentifier, createPassword, createSecretKey, generateToken, getCurrentKey, getKey, getLastKeyUpdate, getName, isCurrentKeyRolled, isMaster, removeExpiredKeys, retrievePassword, rollCurrentKey, start, stop
Methods inherited from class org.apache.hadoop.security.token.SecretManager
checkAvailableForRead, createPassword, generateSecret, retriableRetrievePassword
-
Field Details
-
latch
-
-
Constructor Details
-
AuthenticationTokenSecretManagerForTest
public AuthenticationTokenSecretManagerForTest(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.zookeeper.ZKWatcher zk, String serverName, long keyUpdateInterval, long tokenMaxLifetime)
-
-
Method Details
-
removeKey
- Overrides:
removeKey
in classorg.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManager
-
getLatch
-