8000 Unify expiration handling for SingleUseObjects by mhajas · Pull Request #12230 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Unify expiration handling for SingleUseObjects - #12230

Merged
hmlnarik merged 2 commits into
keycloak:mainfrom
mhajas:12205-Unify-expiration-for-SingleUseObjects
Jun 20, 2022
Merged

hmlnarik merged 2 commits into
keycloak:mainfrom
mhajas:12205-Unify-expiration-for-SingleUseObjects

Conversation

@mhajas
@mhajas mhajas commented May 27, 2022 •
Copy link
Copy Markdown
Contributor

Closes #12205
Closes #12563

@martin-kanis martin-kanis left a comment
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @mhajas. I have one question.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Before, when expiration was not set, some providers used 0 as a default which meant the entity is expired. Now it is the exact opposite. Is this on purpose?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good point. However, the behaviour you described conflicts with Javadoc here. We should discuss this, I am adding discussion point to the meeting today.

@mhajas
mhajas force-pushed the 12205-Unify-expiration-for-SingleUseObjects branch 2 times, most recently from dcfde80 to e13d359 Compare June 20, 2022 07:56
@mhajas
mhajas force-pushed the 12205-Unify-expiration-for-SingleUseObjects branch 2 times, most recently from 534d23b to 3ca0ef7 Compare June 20, 2022 10:06
@hmlnarik hmlnarik left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for the PR @mhajas! Great job!

@hmlnarik
hmlnarik merged commit 0719d3e into keycloak:main Jun 20, 2022
@mhajas
mhajas deleted the 12205-Unify-expiration-for-SingleUseObjects branch July 7, 2022 14:30
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.

Make expiration check automatic within each storage implementation Unify expiration for SingleUseObjects

3 participants

0