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 GitHub Bot (Jira)" <ji...@apache.org> on 2020/02/10 15:29:00 UTC

[jira] [Work logged] (KNOX-2228) JWTFilter should handle unknown token exception from token state service

     [ https://issues.apache.org/jira/browse/KNOX-2228?focusedWorklogId=384464&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-384464 ]

ASF GitHub Bot logged work on KNOX-2228:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 10/Feb/20 15:28
            Start Date: 10/Feb/20 15:28
    Worklog Time Spent: 10m 
      Work Description: pzampino commented on pull request #260: KNOX-2228 - JWTFilter should handle unknown token exception from toke…
URL: https://github.com/apache/knox/pull/260
 
 
   …n state service
   
   ## What changes were proposed in this pull request?
   
   Modified handling of "Unknown token" exception in JWTFilters, such that it no longer results in a HTTP 500 response. Also, improved some token-related log messages.
   
   ## How was this patch tested?
   
   Augmented CommonJWTFilterTest.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 384464)
    Remaining Estimate: 0h
            Time Spent: 10m

> JWTFilter should handle unknown token exception from token state service
> ------------------------------------------------------------------------
>
>                 Key: KNOX-2228
>                 URL: https://issues.apache.org/jira/browse/KNOX-2228
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.4.0
>            Reporter: Philip Zampino
>            Assignee: Philip Zampino
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When server-managed token state is enabled, and the JWT filters check if the token is still valid, it should not throw the exception since it results in a HTTP 500 response.



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