[
https://issues.apache.org/jira/browse/KNOX-2621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on KNOX-2621 started by Sandor Molnar.
-------------------------------------------
> 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)