You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/06/16 13:32:00 UTC

[jira] [Commented] (KNOX-2389) AliasBasedTokenStateService stops processing persisted journal entries if one is malformed

    [ https://issues.apache.org/jira/browse/KNOX-2389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136661#comment-17136661 ] 

ASF subversion and git services commented on KNOX-2389:
-------------------------------------------------------

Commit dcdeace47a179851ee0810d446d2ad903ac826c2 in knox's branch refs/heads/master from Philip Zampino
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=dcdeace ]

KNOX-2389 - AliasBasedTokenStateService stops processing persisted journal entries if one is malformed (#346)



> AliasBasedTokenStateService stops processing persisted journal entries if one is malformed
> ------------------------------------------------------------------------------------------
>
>                 Key: KNOX-2389
>                 URL: https://issues.apache.org/jira/browse/KNOX-2389
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.5.0
>            Reporter: Philip Zampino
>            Assignee: Philip Zampino
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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.



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