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

Simplification of creation of OAuth2TokenValidator with JwtValidators defaults. #14832

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

franticticktick
Copy link
Contributor

Simplification of creation of OAuth2TokenValidator with JwtValidators defaults.

Closes gh-14831

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 2, 2024
@jzheaux jzheaux self-assigned this Apr 2, 2024
@jzheaux jzheaux added type: enhancement A general enhancement in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 2, 2024
Copy link
Contributor

@jzheaux jzheaux left a comment

Choose a reason for hiding this comment

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

Thanks, @CrazyParanoid for the quick PR! I've left some feedback inline. Will you also please make the commit message title shorter so that it doesn't wrap in IDEs? Additional information can be placed in the description section like so:

Add JwtValidators Append To Default

A description here about what was done whose description
also wraps so that it is easier to read

Closes gh-14831

Implemented simplified creation of default OAuth2TokenValidator with additional validators.

Closes spring-projectsgh-14831
@franticticktick
Copy link
Contributor Author

Hi @jzheaux ! Thanks for your feedback! All your comments have been resolved.

@franticticktick franticticktick requested a review from jzheaux April 2, 2024 21:17
@jzheaux jzheaux merged commit ff19f04 into spring-projects:main Apr 2, 2024
3 checks passed
@jzheaux
Copy link
Contributor

jzheaux commented Apr 2, 2024

Thanks, @CrazyParanoid! This is now merged into main along with ee42ad2 which I added to further reuse the method you added. I also ensured that the timestamp validator is first to assist with backward compatibility.

@jzheaux jzheaux added this to the 6.3.0-RC1 milestone Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) type: enhancement A general enhancement
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Simplify chaining of OAuth2TokenValidator with JwtValidators defaults
3 participants