Class AuthenticationTokenKeyManager
- java.lang.Object
-
- org.apache.accumulo.server.security.delegation.AuthenticationTokenKeyManager
-
-
Constructor Summary
Constructors Constructor Description AuthenticationTokenKeyManager(AuthenticationTokenSecretManager mgr, ZooAuthenticationKeyDistributor dist, long keyUpdateInterval, long tokenMaxLifetime)
Construct the key manager which will generate new AuthenticationKeys to generate and verify delegation tokens
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
gracefulStop()
boolean
isInitialized()
void
run()
-
-
-
Constructor Detail
-
AuthenticationTokenKeyManager
public AuthenticationTokenKeyManager(AuthenticationTokenSecretManager mgr, ZooAuthenticationKeyDistributor dist, long keyUpdateInterval, long tokenMaxLifetime)
Construct the key manager which will generate new AuthenticationKeys to generate and verify delegation tokens- Parameters:
mgr
- The SecretManager in usedist
- The implementation to distribute AuthenticationKeys to ZooKeeperkeyUpdateInterval
- The frequency, in milliseconds, that new AuthenticationKeys are createdtokenMaxLifetime
- The lifetime, in milliseconds, of generated AuthenticationKeys (and subsequently delegation tokens).
-
-