The
AuthenticationProvider
is the component that implements the authentication logic and uses the UserDetailsService
to load details about the user. To find the user by username, it calls the loadUserByUsername(String username)
method.
public class UserConfigurationManager { private String userName; private String password; private UserConfigurationManager() { ...
No comments:
Post a Comment