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