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