[ https://issues.apache.org/jira/browse/KNOX-3017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17825581#comment-17825581 ]
ASF subversion and git services commented on KNOX-3017: ------------------------------------------------------- Commit 0ec2ea8c1f17112c0ed9831933b1f4f85637bb5d in knox's branch refs/heads/master from Sandor Molnar [ https://gitbox.apache.org/repos/asf?p=knox.git;h=0ec2ea8c1 ] KNOX-3017 - Avoid showing lifetime adjustment popup when TTL is set to -1 (#877) > Unlimited token generation - invalid warning poopup > --------------------------------------------------- > > Key: KNOX-3017 > URL: https://issues.apache.org/jira/browse/KNOX-3017 > Project: Apache Knox > Issue Type: Bug > Components: TokenGenerationUI > Affects Versions: 2.0.0 > Reporter: Sandor Molnar > Assignee: Sandor Molnar > Priority: Major > Fix For: 2.1.0 > > Attachments: Screenshot 2024-03-11 at 12.57.12.png, Screenshot > 2024-03-11 at 12.57.35.png > > Time Spent: 20m > Remaining Estimate: 0h > > *Steps to reproduce* > * set the {{knox.token.ttl}} to {{-1}} in the {{homepage}} topology for the > {{KNOXTOKEN}} service > * go to the {{Token Generation UI}} and set the {{Lifetime}} to 365 days > *Actual results* > The lifespan adjusting warning popup says that 365 days is greater than the > configured maximum lifetime. This is not true, because, as you can see in the > screenshot, we are creating tokens with {{unlimited lifetime}} > *Expected result* > The popup should not be displayed in case of unlimited token lifetime > configurations. > *Note* > After clicking the {{Generate token anyway}} button, the token was created > with the correct expiration time (1 year from today). -- This message was sent by Atlassian Jira (v8.20.10#820010)