java - Spring security and UserDetailsService -
I'm new to Spring Security and I try to apply a custom I was wondering why this method does not take any passwords in the form of parameters How did the Spring user succeed in certifying only the user name? I am new to Spring Safety and the authentication process is welcome in clarification and spring safety on AP. This is not the job of For example, UserDetailsService for authentication I am doing What's the problem with me, that there is only one way in this interface loadUserByUsername (string user name) which takes the user name as a parameter only and gives UserDetails is. UserDetailsService to authenticate the user < Code> authentication provider . DaoAuthenticationProvider simply uses the UserDetailsService to load the user by name and then confirms Take a look at the source code of DaoAuthenticationProvider so that it will know how that is correct, to know that against the user the user's name is the password attestation token . Behind the scenes is done.
Comments
Post a Comment