[ https://issues.apache.org/jira/browse/KNOX-3019?focusedWorklogId=909637&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-909637 ]
ASF GitHub Bot logged work on KNOX-3019: ---------------------------------------- Author: ASF GitHub Bot Created on: 13/Mar/24 12:18 Start Date: 13/Mar/24 12:18 Worklog Time Spent: 10m Work Description: smolnar82 merged PR #880: URL: https://github.com/apache/knox/pull/880 Issue Time Tracking ------------------- Worklog Id: (was: 909637) Time Spent: 20m (was: 10m) > Allow tokens to be renewed any times > ------------------------------------ > > Key: KNOX-3019 > URL: https://issues.apache.org/jira/browse/KNOX-3019 > Project: Apache Knox > Issue Type: Improvement > Components: Server, TokenGenerationUI > Affects Versions: 2.0.0 > Reporter: Sandor Molnar > Assignee: Sandor Molnar > Priority: Critical > Fix For: 2.1.0 > > Time Spent: 20m > Remaining Estimate: 0h > > Setting the TTL to {{-1}} results in tokens that never expire. If the TTL is > configured to a positive number, renewing the token is the only way to extend > its expiration time. By default, there is a cap on this event: a token cannot > be renewed after it reaches the configured maximum lifetime (defaults to > {{{}7 days{}}}). > This task aims to provide end-users with a way to bypass this check and let > tokens be renewed whenever they want. The logic would be similar to the > {{Unlimited token}} handling: if the maximum lifetime is set to {{{}-1{}}}, > tokens would be subject to renewal without checking the maximum lifetime. > Please note that token renewal still must be configured with a list of > trusted users via the {{knox.token.renewer.whitelist}} configuration. -- This message was sent by Atlassian Jira (v8.20.10#820010)