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. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
