AuthenticationProvider

AuthenticationProvider provides a mechanism for getting user details, with which authentication can be performed. Spring Security provides a number of AuthenticationProvider implementations, as shown in the following diagram:

Figure 03: Spring Security built-in AuthenticationProvider

In subsequent chapters, we will go through each of these in detail with more code samples.