[ https://issues.apache.org/jira/browse/KNOX-3017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sandor Molnar updated KNOX-3017: -------------------------------- Description: *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). was: *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. > Unlimited token generation - invalid warning poopup > --------------------------------------------------- > > Key: KNOX-3017 > URL: https://issues.apache.org/jira/browse/KNOX-3017 > Project: Apache Knox > Issue Type: Bug > 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 > > > *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)