Hi,
I have a custom Authentication Sucess Handler like this:
public class CustomAuthenticationHandler extends SavedRequestAwareAuthenticationSuccessHandler{
public void onAuthenticationSuccess(HttpServletRequest request,
HttpServletResponse response, Authentication authentication)
throws ServletException, IOException {
....
}
}
How could I inject my Spring-Data repository here? I try do with different ways but with no sucess =/
I have a custom Authentication Sucess Handler like this:
public class CustomAuthenticationHandler extends SavedRequestAwareAuthenticationSuccessHandler{
public void onAuthenticationSuccess(HttpServletRequest request,
HttpServletResponse response, Authentication authentication)
throws ServletException, IOException {
....
}
}
How could I inject my Spring-Data repository here? I try do with different ways but with no sucess =/