基本上我得到一个基于此的错误:
Caused by: java.lang.IllegalStateException: Cannot convert value of type [example.TestAuthFilterEntryPoint] to required type [org.springframework.security.web.AuthenticationEntryPoint] for property 'authenticationEntryPoint': no matching editors or conversion strategy found
... 42 more
基本上我只将这个类实现为 AuthenticationEntryPoint
import org.springframework.security.ui.AuthenticationEntryPoint;
import org.springframework.security.AuthenticationException;
public class TestAuthFilterEntryPoint implements AuthenticationEntryPoint,
InitializingBean {...
在如何正确“转换”它方面,我是否遗漏了一些东西?