You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: webauthn4j-spring-security-core/src/main/java/com/webauthn4j/springframework/security/WebAuthnProcessingFilter.java
+23-5Lines changed: 23 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,10 @@
36
36
37
37
38
38
/**
39
-
* Processes a WebAuthn authentication form submission. For supporting username/password authentication for first step of
40
-
* two step authentication, if credentialId is not found in the HTTP request, this filter try to find username/password
41
-
* parameters.
39
+
* Processes a WebAuthn authentication form submission.
40
+
* <p>
41
+
* For supporting the username/password authentication in the first step of a two factors authentication,
42
+
* if credentialId is not found in the HTTP request, this filter try to find username/password parameters.
42
43
* <p>
43
44
* Login forms must present WebAuthn parameters (credentialId, clientDataJSON, authenticatorData,signature and
44
45
* clientExtensionJSON) or Password authentication parameters (username and password).
@@ -75,7 +76,7 @@ public class WebAuthnProcessingFilter extends UsernamePasswordAuthenticationFilt
Copy file name to clipboardExpand all lines: webauthn4j-spring-security-core/src/test/java/com/webauthn4j/springframework/security/WebAuthnProcessingFilterTest.java
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -247,12 +247,21 @@ public void attemptAuthentication_test_with_wrong_port() {
0 commit comments