@InterfaceAudience.Private @InterfaceStability.Unstable public class JHSDelegationTokenSecretManager extends AbstractDelegationTokenSecretManager<MRDelegationTokenIdentifier>
AbstractDelegationTokenSecretManager.DelegationTokenInformationSecretManager.InvalidTokenallKeys, currentId, currentTokens, delegationTokenSequenceNumber, noInterruptsLock, running, storeTokenTrackingId| Constructor and Description |
|---|
JHSDelegationTokenSecretManager(long delegationKeyUpdateInterval,
long delegationTokenMaxLifetime,
long delegationTokenRenewInterval,
long delegationTokenRemoverScanInterval)
Create a secret manager
|
| Modifier and Type | Method and Description |
|---|---|
MRDelegationTokenIdentifier |
createIdentifier()
Create an empty token identifier.
|
addKey, addPersistedDelegationToken, cancelToken, createPassword, createSecretKey, getAllKeys, getTokenTrackingId, getTrackingIdIfEnabled, isRunning, logExpireToken, logUpdateMasterKey, removeStoredMasterKey, removeStoredToken, renewToken, reset, retrievePassword, startThreads, stopThreads, storeNewMasterKey, storeNewToken, updateStoredToken, verifyTokencheckAvailableForRead, createPassword, generateSecretpublic JHSDelegationTokenSecretManager(long delegationKeyUpdateInterval,
long delegationTokenMaxLifetime,
long delegationTokenRenewInterval,
long delegationTokenRemoverScanInterval)
delegationKeyUpdateInterval - the number of seconds for rolling new
secret keys.delegationTokenMaxLifetime - the maximum lifetime of the delegation
tokensdelegationTokenRenewInterval - how often the tokens must be reneweddelegationTokenRemoverScanInterval - how often the tokens are scanned
for expired tokenspublic MRDelegationTokenIdentifier createIdentifier()
SecretManagercreateIdentifier in class SecretManager<MRDelegationTokenIdentifier>Copyright © 2013 Apache Software Foundation. All rights reserved.