public DelegationTokenSecretManager(long delegationKeyUpdateInterval, long delegationTokenMaxLifetime , long delegationTokenRenewInterval, long delegationTokenRemoverScanInterval, FSNamesystem namesystem) : this(delegationKeyUpdateInterval, delegationTokenMaxLifetime, delegationTokenRenewInterval , delegationTokenRemoverScanInterval, false, namesystem) { serializerCompat = new DelegationTokenSecretManager.SerializerCompat(this); }
/// <summary>Create a secret manager</summary> /// <param name="delegationKeyUpdateInterval"> /// the number of seconds for rolling new /// secret keys. /// </param> /// <param name="delegationTokenMaxLifetime"> /// the maximum lifetime of the delegation /// tokens /// </param> /// <param name="delegationTokenRenewInterval">how often the tokens must be renewed</param> /// <param name="delegationTokenRemoverScanInterval"> /// how often the tokens are scanned /// for expired tokens /// </param> /// <param name="storeTokenTrackingId">whether to store the token's tracking id</param> public DelegationTokenSecretManager(long delegationKeyUpdateInterval, long delegationTokenMaxLifetime , long delegationTokenRenewInterval, long delegationTokenRemoverScanInterval, bool storeTokenTrackingId, FSNamesystem namesystem) : base(delegationKeyUpdateInterval, delegationTokenMaxLifetime, delegationTokenRenewInterval , delegationTokenRemoverScanInterval) { serializerCompat = new DelegationTokenSecretManager.SerializerCompat(this); this.namesystem = namesystem; this.storeTokenTrackingId = storeTokenTrackingId; }