我有这样的自定义身份验证成功处理程序:
public class CustomAuthenticationHandler extends SavedRequestAwareAuthenticationSuccessHandler{
public void onAuthenticationSuccess(HttpServletRequest request,
HttpServletResponse response, Authentication authentication)
throws ServletException, IOException {
....
}
}
我怎么能在这里注入我的Spring-Data存储库?我尝试用不同的方式做但没有成功。 = /