[
https://issues.apache.org/jira/browse/KNOX-2621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17362263#comment-17362263
]
ASF subversion and git services commented on KNOX-2621:
-------------------------------------------------------
Commit cb48e0f6c42bebd3b43e9fceaaf4e7b2a293ec76 in knox's branch
refs/heads/master from Sandor Molnar
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=cb48e0f ]
KNOX-2621 - Consolidated some HTTP error codes upon JWT/Passcode validation
(#458)
> Consolidate HTTP error codes in JWT federation filter
> -----------------------------------------------------
>
> Key: KNOX-2621
> URL: https://issues.apache.org/jira/browse/KNOX-2621
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.6.0
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Critical
>
> In
> {{org.apache.knox.gateway.provider.federation.jwt.filter.AbstractJWTFilter.validateToken(...)}}
> there are multiple validation takes place and Knox returns
> {{400/BAD_REQUEST}} in some places where {{401/UNAUTHORIZED}} sould have been
> used (for instance, when a token is expired).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)