@InterfaceAudience.Private @InterfaceStability.Unstable public class DelegationTokenSecretManager extends AbstractDelegationTokenSecretManager<DelegationTokenIdentifier>
AbstractDelegationTokenSecretManager.DelegationTokenInformation
SecretManager.InvalidToken
allKeys, currentId, currentTokens, delegationTokenSequenceNumber, noInterruptsLock, running, storeTokenTrackingId
Constructor and Description |
---|
DelegationTokenSecretManager(long delegationKeyUpdateInterval,
long delegationTokenMaxLifetime,
long delegationTokenRenewInterval,
long delegationTokenRemoverScanInterval)
Create a secret manager
|
Modifier and Type | Method and Description |
---|---|
DelegationTokenIdentifier |
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, verifyToken
checkAvailableForRead, createPassword, generateSecret
public DelegationTokenSecretManager(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 DelegationTokenIdentifier createIdentifier()
SecretManager
createIdentifier
in class SecretManager<DelegationTokenIdentifier>
Copyright © 2013 Apache Software Foundation. All rights reserved.