Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-9801

AccessToken isExpired fixed incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.16.0
    • None
    • None

    Description

      Fix for https://issues.apache.org/jira/browse/NIFI-9797 made possible to consider a token valid while expired.

      The idea behind the margin is to renew the ticket way before the last possible second. To leave us some room - a margin of error so to speak.

      The aforementioned fix adds 5 extra seconds when we consider the ticket not expired - even when it has.
      In case of a busy processor this can lead to an unnecessary failure.

      Attachments

        Issue Links

          Activity

            People

              tpalfy Tamas Palfy
              tpalfy Tamas Palfy
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 1h 40m
                  1h 40m