You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "smolnar82 (via GitHub)" <gi...@apache.org> on 2024/03/11 16:28:38 UTC

[PR] KNOX-3018 - Tokens that never expire should not be evicted automatically and their expiration should be displayed properly [knox]

smolnar82 opened a new pull request, #878:
URL: https://github.com/apache/knox/pull/878

   ## What changes were proposed in this pull request?
   
   The `Token Management` and `Token Generation` UIs are updated in a way such that they display `Never expires` in case a token never expires (that is, if the token's expiration is set to a negative number).
   Moreover, the automated token eviction logic is modified to never remove those tokens from the underlying token state backend.
   
   ## How was this patch tested?
   
   Updated existing unit tests to cover the token eviction logic change and ran manual testing on the UI.
   
   <img width="1776" alt="Screenshot 2024-03-11 at 16 39 33" src="https://github.com/apache/knox/assets/34065904/fe510492-25f8-4ab8-993e-2936af93a001">
   <img width="1777" alt="Screenshot 2024-03-11 at 17 14 10" src="https://github.com/apache/knox/assets/34065904/74304b4f-dce9-42c9-aaea-2b4223f72c41">
   <img width="1781" alt="Screenshot 2024-03-11 at 17 14 41" src="https://github.com/apache/knox/assets/34065904/db8a6b11-84ba-4c9e-b94e-c8c13f46093d">
   <img width="1778" alt="Screenshot 2024-03-11 at 17 17 46" src="https://github.com/apache/knox/assets/34065904/af1876ff-d884-4ca1-9bf2-6ab28052cba2">
   
   


-- 
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: dev-unsubscribe@knox.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KNOX-3018 - Tokens that never expire should not be evicted automatically and their expiration should be displayed properly [knox]

Posted by "smolnar82 (via GitHub)" <gi...@apache.org>.
smolnar82 merged PR #878:
URL: https://github.com/apache/knox/pull/878


-- 
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: dev-unsubscribe@knox.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org