org.springframework.security.core.userdetails.User DetailsService.loadUserByUsername
Need to query the database when the log to generate UserDetails
There is only one parameter username
If the wrong username password correctly, then in order to generate UserDetails also to query about the database.
This query is redundant, I do not understand why this design.
UserDetails generated after authentication password is not better?


Reply With Quote
