public class DelegationTokenSecretManager extends AbstractDelegationTokenSecretManager<DelegationTokenIdentifier>
AbstractDelegationTokenSecretManager.DelegationTokenInformationSecretManager.InvalidTokenallKeys, currentId, currentTokens, delegationTokenSequenceNumber, noInterruptsLock, running| 构造器和说明 |
|---|
DelegationTokenSecretManager(long delegationKeyUpdateInterval,
long delegationTokenMaxLifetime,
long delegationTokenRenewInterval,
long delegationTokenRemoverScanInterval)
Create a secret manager
|
| 限定符和类型 | 方法和说明 |
|---|---|
DelegationTokenIdentifier |
createIdentifier()
Create an empty token identifier.
|
addKey, cancelToken, createPassword, createSecretKey, getAllKeys, isRunning, logUpdateMasterKey, renewToken, retrievePassword, startThreads, stopThreads, verifyTokencreatePassword, generateSecretpublic 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()
SecretManagercreateIdentifier 在类中 SecretManager<DelegationTokenIdentifier>Copyright © 2009 The Apache Software Foundation