Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KNOX-3018 - Tokens that never expire should not be evicted automatically and their expiration should be displayed properly #878

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

smolnar82
Copy link
Contributor

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.

Screenshot 2024-03-11 at 16 39 33 Screenshot 2024-03-11 at 17 14 10 Screenshot 2024-03-11 at 17 14 41 Screenshot 2024-03-11 at 17 17 46

…lly and their expiration should be displayed properly
Copy link
Contributor

@moresandeep moresandeep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@smolnar82 smolnar82 merged commit 37dc8a7 into apache:master Mar 12, 2024
2 checks passed
@smolnar82 smolnar82 deleted the KNOX-3018 branch March 12, 2024 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants