-
Notifications
You must be signed in to change notification settings - Fork 6k
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: smallbun <[email protected]>
Signed-off-by: smallbun <[email protected]>
Signed-off-by: smallbun <[email protected]>
There was a problem hiding this 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:
- They error appropriately when
null
is given - 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.
...gframework/security/web/webauthn/authentication/PublicKeyCredentialRequestOptionsFilter.java
Show resolved
Hide resolved
...ngframework/security/web/webauthn/registration/PublicKeyCredentialCreationOptionsFilter.java
Show resolved
Hide resolved
.../java/org/springframework/security/web/webauthn/registration/WebAuthnRegistrationFilter.java
Show resolved
Hide resolved
.../java/org/springframework/security/web/webauthn/registration/WebAuthnRegistrationFilter.java
Show resolved
Hide resolved
...gframework/security/web/webauthn/authentication/PublicKeyCredentialRequestOptionsFilter.java
Outdated
Show resolved
Hide resolved
...ngframework/security/web/webauthn/registration/PublicKeyCredentialCreationOptionsFilter.java
Show resolved
Hide resolved
.../java/org/springframework/security/web/webauthn/registration/WebAuthnRegistrationFilter.java
Outdated
Show resolved
Hide resolved
.../java/org/springframework/security/web/webauthn/registration/WebAuthnRegistrationFilter.java
Outdated
Show resolved
Hide resolved
Signed-off-by: smallbun <[email protected]>
Signed-off-by: smallbun <[email protected]>
No description provided.