spring-security/docs/modules/ROOT/pages/servlet/authentication/architecture/authentication-provider.adoc

7 lines
574 B
Plaintext

[[servlet-authentication-authenticationprovider]]
= AuthenticationProvider
Multiple {security-api-url}org/springframework/security/authentication/AuthenticationProvider.html[``AuthenticationProvider``s] can be injected into <<servlet-authentication-providermanager,`ProviderManager`>>.
Each `AuthenticationProvider` performs a specific type of authentication.
For example, <<servlet-authentication-daoauthenticationprovider,`DaoAuthenticationProvider`>> supports username/password based authentication while `JwtAuthenticationProvider` supports authenticating a JWT token.