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

Support custom RequestMatcher in WebAuthn filters #16517

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

leshalv
Copy link
Contributor

@leshalv leshalv commented Feb 1, 2025

No description provided.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 1, 2025
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.

Hi, @leshalv, and thanks for this PR. I've left a inline checklist of JavaDoc polishes. Also, will you please add tests for each of these setter methods that confirm:

  1. They error appropriately when null is given
  2. The filter appropriately uses the provided request matcher.

Note that for the second test, the filter doesn't necessarily need to get triggered; it simply needs to be clear that the given requestMatcher was used to match the request.

@jzheaux jzheaux self-assigned this Feb 3, 2025
@jzheaux jzheaux added the type: enhancement A general enhancement label Feb 3, 2025
@leshalv leshalv changed the title Add setRequestMatcher to WebAuthn Add setRequestMatcher to the relevant filters. Feb 4, 2025
@jzheaux jzheaux changed the title Add setRequestMatcher to the relevant filters. Add setRequestMatcher to WebAuthn filters Feb 4, 2025
@jzheaux jzheaux changed the title Add setRequestMatcher to WebAuthn filters Support custom RequestMatcher in WebAuthn filters Feb 4, 2025
@jzheaux jzheaux added in: web An issue in web modules (web, webmvc) and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web An issue in web modules (web, webmvc) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants