Solve the problem of spring security No AuthenticationProvider found for com.

No AuthenticationProvider found for com.xxx.xx

reason

Insert image description here
When you have verified, remember this to return true. Otherwise, there will be an awkward intermediate state where there is no exception and no verification is returned, and security will treat it as if the verification has not passed.
Insert image description here

Revise

Insert image description here

Guess you like

Origin blog.csdn.net/uniquewonderq/article/details/131784236