[
https://issues.apache.org/jira/browse/KNOX-3612?focusedWorklogId=1056804&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1056804
]
ASF GitHub Bot logged work on KNOX-3612:
----------------------------------------
Author: ASF GitHub Bot
Created on: 24/Nov/26 08:35
Start Date: 24/Nov/26 08:35
Worklog Time Spent: 10m
Work Description: hanicz opened a new pull request, #1540:
URL: https://github.com/apache/knox/pull/1540
…state
[KNOX-3612](https://issues.apache.org/jira/browse/KNOX-3612) - Align
webshell token validation with server-managed token state
## What changes were proposed in this pull request?
The webshell token validator now consults the token state service for tokens
issued as server-managed (`managed.token` claim present with a token ID), in
addition to the existing topology / gateway-level configuration. Unmanaged
tokens are validated as before.
## How was this patch tested?
- Added unit tests in `JWTValidatorTest` covering managed and unmanaged
tokens.
- Existing `JWTValidatorTest` and `GatewayWebsocketHandlerTest` pass.
- Manually verified the webshell connection against a local gateway.
Issue Time Tracking
-------------------
Worklog Id: (was: 1056804)
Remaining Estimate: 0h
Time Spent: 10m
> Align webshell token validation with server-managed token state
> ---------------------------------------------------------------
>
> Key: KNOX-3612
> URL: https://issues.apache.org/jira/browse/KNOX-3612
> Project: Apache Knox
> Issue Type: Task
> Components: WebShell
> Affects Versions: 3.0.0
> Reporter: Tamás Hanicz
> Assignee: Tamás Hanicz
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)