Skip to content

KNOX-2384 - Token Service should return expiration from token when re…#342

Merged
pzampino merged 1 commit intoapache:masterfrom
pzampino:master
Jun 9, 2020
Merged

KNOX-2384 - Token Service should return expiration from token when re…#342
pzampino merged 1 commit intoapache:masterfrom
pzampino:master

Conversation

@pzampino
Copy link
Copy Markdown
Contributor

@pzampino pzampino commented Jun 9, 2020

…newal disabled

What changes were proposed in this pull request?

Rather than responding with a 400 Bad Request when server-managed token state is disabled, renewal requests should respond with the expiration from the token being renewed.

How was this patch tested?

Updated existing tests, and perfomed manual testing.

@pzampino pzampino requested review from moresandeep and smolnar82 June 9, 2020 17:02
Copy link
Copy Markdown
Contributor

@smolnar82 smolnar82 left a comment

Choose a reason for hiding this comment

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

LGTM

@pzampino pzampino merged commit 918be5a into apache:master Jun 9, 2020
stoty pushed a commit to stoty/knox that referenced this pull request May 14, 2024
…newal disabled (apache#342)

Change-Id: Iff146d51031ad8955e952b60561f9b33cc9754a5
stoty pushed a commit to stoty/knox that referenced this pull request May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants