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 15:57:00 UTC

[jira] [Created] (KNOX-2687) Refactoring Knox Token Validation

Sandeep More created KNOX-2687:
----------------------------------

             Summary: 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


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)