Announcement Announcement Module
Collapse
No announcement yet.
Security Config Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Security Config

    In our application we have two different user tables called seeker and referrer. These two tables have different fields but but Username and Password fields are common. I have login controller in which i will query the corresponding table based on the user type(seeker or referrer) and user will be taken to the corresponding homepage. If the user is found in the user table, the user object will be set in the session.


    For seeker, session.setAttribute("SEEKER","userobj");
    For referrer,session.setAttribute("REFERRER","userobj" );

    I would like to implement spring security3 with hibernate.

    Am not sure how to configure my login controller for authentication in security config file.

    Could you please help me on this.

  • #2
    By implement spring security3 with hibernate I assume you are specifically meaning login. To do this you can implement UserDetailsService or AuthenticationProvider and use hibernate in your implementation.

    Comment

    Working...
    X