Announcement Announcement Module
Collapse
No announcement yet.
How could I inject spring-data repository on SavedRequestAwareAuthenticationSuccessHa Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How could I inject spring-data repository on SavedRequestAwareAuthenticationSuccessHa

    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 =/

  • #2
    No one?

    I need to inject a spring data repository or a entity manager.

    Comment


    • #3
      Hi, someone please could help me?

      Comment

      Working...
      X