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

Add username and comment into token state metadata

    XMLWordPrintableJSON

    Details

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

      Description

      As of now, the following metadata is stored in the local keystore or in ZK as the following aliases:

      • tokenId and expiration - alias name is 'tokenId'
      • tokenId and maximum lifetime - alias name is 'tokenId--max'

      As part of this JIRA, a new alias should be introduced containing general metadata stored as a JSON string. To start with, the following JSON elements will be added:

      • tokenId
      • username
      • comment

      The alias name is going to be 'tokenId–meta'

      In the JournalBasedTokenStateService, these two new fields should be added at the end of the line in each journal entry.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                smolnar Sandor Molnar
                Reporter:
                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 - 0.5h
                  0.5h