[ 
https://issues.apache.org/jira/browse/KNOX-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sandor Molnar updated KNOX-2557:
--------------------------------
    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.

  was:
Aso fo 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'


> Add username and comment into token state  metadata
> ---------------------------------------------------
>
>                 Key: KNOX-2557
>                 URL: https://issues.apache.org/jira/browse/KNOX-2557
>             Project: Apache Knox
>          Issue Type: Task
>          Components: Server
>    Affects Versions: 1.5.0
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to