Responsible for finding granted authorities for a given user.
Responsible for determining if a given password matches its encoded state and encoding raw passwords.
Responsible for returning user information based on their username.
Represents the state of a user after authentication.
AuthenticationProvider typically used with a persistence mechanism such as a DB.