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

AliasBasedTokenStateService stops processing persisted journal entries if one is malformed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: None
    • Component/s: Server
    • Labels:
      None

      Description

      In the init methods of AliasBasedTokenStateService, while processing persisted TokenStateJournal entries, if one entry is malformed, then all subsequent entries are skipped. If the token ID is invalid, then the initialization of the service will fail altogether.

      This method should be more resilient, reporting malformed / invalid journal entries, but proceeding with the remaining entries.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pzampino Philip Zampino
                Reporter:
                pzampino Philip Zampino
              • 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