2019-12-07 00:39:55 +08:00
[[authentication]]
2019-11-27 22:05:44 +08:00
= Authentication
Spring Security provides comprehensive support for https://en.wikipedia.org/wiki/Authentication[authentication].
2019-12-07 00:39:55 +08:00
Authentication is how we verify the identity of who is trying to access a particular resource.
2019-11-27 22:05:44 +08:00
A common way to authenticate users is by requiring the user to enter a username and password.
2019-12-07 00:39:55 +08:00
Once authentication is performed we know the identity and can perform authorization.
2019-11-27 22:05:44 +08:00
2021-12-14 06:57:36 +08:00
Spring Security provides built-in support for authenticating users.
2021-07-30 06:12:34 +08:00
This section is dedicated to generic authentication support that applies in both Servlet and WebFlux environments.
2023-11-08 00:10:36 +08:00
Refer to the sections on authentication for xref:servlet/authentication/index.adoc#servlet-authentication[Servlet] and xref:servlet/authentication/index.adoc[WebFlux] for details on what is supported for each stack.