次のようなカスタム認証成功ハンドラーがあります。
public class CustomAuthenticationHandler extends SavedRequestAwareAuthenticationSuccessHandler{
public void onAuthenticationSuccess(HttpServletRequest request,
HttpServletResponse response, Authentication authentication)
throws ServletException, IOException {
....
}
}
ここに Spring-Data リポジトリを挿入するにはどうすればよいですか? 私はさまざまな方法でやろうとしますが、成功しません。=/