Skip to content

KNOX-2606 - Indicate configured token TTL on UI and ask for confirmation when end-users try to generate a token above the configured limit#450

Merged
smolnar82 merged 1 commit intoapache:masterfrom
smolnar82:KNOX-2606
May 20, 2021

Conversation

@smolnar82
Copy link
Copy Markdown
Contributor

@smolnar82 smolnar82 commented May 20, 2021

What changes were proposed in this pull request?

In order to avoid misunderstandings and customer escalations, the token generation UI now indicates what is the configured maximum lifetime (knox.token.ttl in the relevant topology). In case end-users wants to generate a token that exceeds the configured maximum, a confirmation window is shown where we explain the side effects.

Please note that if knox.token.ttl is set to -1 the topology owner explicitly configured unlimited lifetime, so we do not need to check the supplied lifespan.

How was this patch tested?

Manually tested.

Screen Shot 2021-05-20 at 1 54 02 PM

Screen Shot 2021-05-20 at 4 59 38 PM

…ion when end-users try to generate a token above the configured limit
@smolnar82 smolnar82 merged commit 8f70ba9 into apache:master May 20, 2021
@smolnar82 smolnar82 deleted the KNOX-2606 branch May 20, 2021 20:40
stoty pushed a commit to stoty/knox that referenced this pull request May 14, 2024
…r confirmation when end-users try to generate a token above the configured limit (apache#450)

Change-Id: Ie70da2ccab431ac82c7e117c93b58f6a4def8e00
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.

1 participant