Skip to content

Commit 58725a4

Browse files
nimakarimiankjzheaux
authored andcommitted
Clarify UsernamePasswordAuthenticationFilter Workflow
1 parent 29331a0 commit 58725a4

File tree

1 file changed

+1
-1
lines changed
  • docs/modules/ROOT/pages/servlet/authentication/passwords

1 file changed

+1
-1
lines changed

docs/modules/ROOT/pages/servlet/authentication/passwords/form.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ image:{icondir}/number_4.png[] The browser requests the login page to which it w
2626
image:{icondir}/number_5.png[] Something within the application, must <<servlet-authentication-form-custom,render the login page>>.
2727

2828
[[servlet-authentication-usernamepasswordauthenticationfilter]]
29-
When the username and password are submitted, the `UsernamePasswordAuthenticationFilter` authenticates the username and password.
29+
When the username and password are submitted, the `UsernamePasswordAuthenticationFilter` creates a `UsernamePasswordAuthenticationToken` which is a type of https://docs.spring.io/spring-security/reference/servlet/authentication/architecture.html#servlet-authentication-authentication[Authentication], by extracting the username and password from the `HttpServletRequest` instance.
3030
The `UsernamePasswordAuthenticationFilter` extends xref:servlet/authentication/architecture.adoc#servlet-authentication-abstractprocessingfilter[AbstractAuthenticationProcessingFilter], so the following diagram should look pretty similar:
3131

3232
.Authenticating Username and Password

0 commit comments

Comments
 (0)