You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sandeep More (Jira)" <ji...@apache.org> on 2021/11/08 19:46:00 UTC
[jira] [Resolved] (KNOX-2687) Refactoring Knox Token Validation
[ https://issues.apache.org/jira/browse/KNOX-2687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sandeep More resolved KNOX-2687.
--------------------------------
Resolution: Not A Problem
JWTokenAuthority service can be used instead.
> Refactoring Knox Token Validation
> ---------------------------------
>
> Key: KNOX-2687
> URL: https://issues.apache.org/jira/browse/KNOX-2687
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Reporter: Sandeep More
> Assignee: Sandeep More
> Priority: Major
>
> Currently the code that does token verification (JWT) rests in a Filter class - AbstractJWTFilter.
> It is difficult for other components within Knox to access this code. For Webshell feature we need to be able to access this code from within the Websocket handler. Currently, the only way to solve this is by code duplication. The objective of this effort is to consolidate the token verification code in one place where any component can access this code.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)