Skip to content

Commit aedbc70

Browse files
topiamleshalv
authored andcommitted
Add setRequestMatcher to the relevant filters.
Signed-off-by: smallbun <[email protected]>
1 parent 2a85798 commit aedbc70

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

web/src/main/java/org/springframework/security/web/webauthn/authentication/PublicKeyCredentialRequestOptionsFilter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ public PublicKeyCredentialRequestOptionsFilter(WebAuthnRelyingPartyOperations rp
7676
}
7777

7878
/**
79-
* Sets the {@link RequestMatcher} used to trigger this filter.
80-
* By default, the {@link RequestMatcher} is {@code POST /webauthn/authenticate/options}.
79+
* Sets the {@link RequestMatcher} used to trigger this filter. By default, the
80+
* {@link RequestMatcher} is {@code POST /webauthn/authenticate/options}.
8181
* @param requestMatcher the {@link RequestMatcher} to use
8282
* @since 6.5
8383
*/

web/src/main/java/org/springframework/security/web/webauthn/registration/WebAuthnRegistrationFilter.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,9 @@ public WebAuthnRegistrationFilter(UserCredentialRepository userCredentials,
106106
}
107107

108108
/**
109-
* Sets the {@link RequestMatcher} to trigger this filter's the credential registration operation .
110-
* By default, the {@link RequestMatcher} is {@code POST /webauthn/register}.
109+
* Sets the {@link RequestMatcher} to trigger this filter's the credential
110+
* registration operation . By default, the {@link RequestMatcher} is
111+
* {@code POST /webauthn/register}.
111112
* @param registerCredentialMatcher the {@link RequestMatcher} to use
112113
* @since 6.5
113114
*/
@@ -117,8 +118,9 @@ public void setRegisterCredentialMatcher(RequestMatcher registerCredentialMatche
117118
}
118119

119120
/**
120-
* Sets the {@link RequestMatcher} to trigger this filter's the credential removal operation .
121-
* By default, the {@link RequestMatcher} is {@code DELETE /webauthn/register/{id}}.
121+
* Sets the {@link RequestMatcher} to trigger this filter's the credential removal
122+
* operation . By default, the {@link RequestMatcher} is {@code DELETE
123+
* /webauthn/register/{id}}.
122124
* @param removeCredentialMatcher the {@link RequestMatcher} to use
123125
* @since 6.5
124126
*/

0 commit comments

Comments
 (0)