Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-3017

Unlimited token generation - invalid warning poopup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • TokenGenerationUI
    • None

    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).

      Attachments

        1. Screenshot 2024-03-11 at 12.57.35.png
          248 kB
          Sandor Molnar
        2. Screenshot 2024-03-11 at 12.57.12.png
          369 kB
          Sandor Molnar

        Issue Links

          Activity

            People

              smolnar Sandor Molnar
              smolnar Sandor Molnar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m