You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2024/03/13 12:19:00 UTC
[jira] [Commented] (KNOX-3019) Allow tokens to be renewed any times
[ https://issues.apache.org/jira/browse/KNOX-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17826030#comment-17826030 ]
ASF subversion and git services commented on KNOX-3019:
-------------------------------------------------------
Commit c098afaec3a181d8a5d8d5f25a61526d4b608a8b in knox's branch refs/heads/master from Sandor Molnar
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=c098afaec ]
KNOX-3019 - Allow token renewal without upper bound for non-expired tokens (#880)
> 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)