szerhusenBC/jwt-spring-security-demo

where does BCryptPasswordEncoder be used?

joeyUOFA opened this issue · 2 comments

Hi,

I saw PasswordEncoder is defined, but it is not been used in any where. How do you verify the password when use logs in?

Thanks

It is registered as a bean in the WebSecurityConfig.

@joeyUOFA : Like @maxwellt already mentioned it, it's configured as a @bean and Spring is using it automatically as password decoder.