[
https://issues.apache.org/jira/browse/KNOX-2602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17339664#comment-17339664
]
ASF subversion and git services commented on KNOX-2602:
-------------------------------------------------------
Commit dd716eafc5da45ae39f85300ab62c63ef15ee55a in knox's branch
refs/heads/master from Sandor Molnar
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=dd716ea ]
KNOX-2602 - Added the enabled flag and related token service API into the
tokens' metadata. (#447)
Instead of adding another column in KNOX_TABLES, a brand new DB table was
introduced where an arbitrary number of token metadata can be stored
(identified by the given token's ID and the metadata name).
> Add token status in JDBC token state management
> -----------------------------------------------
>
> Key: KNOX-2602
> URL: https://issues.apache.org/jira/browse/KNOX-2602
> Project: Apache Knox
> Issue Type: Improvement
> Affects Versions: 1.6.0
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> A new DB column needs to be added, called {{status}} in {{KNOX_TOKENS}}. The
> following values are allowed:
> * ENABLED
> * DISABLED
> When a token is being created and saved, the status is going to be enabled.
> However, end-users should be able to change it using a new {{KNOXTOKEN}}
> service API.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)