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

Colm O hEigeartaigh commented on KNOX-954:
------------------------------------------

Hi [~moresandeep],

Isn't it already logged via "log.unableToParseToken(e);" in JWTToken?

> Don't consume parsing errors for JWT tokens
> -------------------------------------------
>
>                 Key: KNOX-954
>                 URL: https://issues.apache.org/jira/browse/KNOX-954
>             Project: Apache Knox
>          Issue Type: Bug
>            Reporter: Colm O hEigeartaigh
>            Assignee: Colm O hEigeartaigh
>             Fix For: 0.13.0
>
>         Attachments: 
> 0001-KNOX-954-Don-t-consume-parsing-errors-for-JWT-tokens.patch
>
>
> Right now, the JWTToken consumes an error on parsing a token. This is a bit 
> dubious and leads to NPEs in the filters (for example when trying to extract 
> claims). Adding back in the previously commented out test in 
> AbstractJWTFilterTest as part of this patch.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to