Results 1 to 2 of 2

Thread: Does OpenSessionInViewFilter maintain Session between JSF(MyFaces) and Spring

  1. #1
    Join Date
    May 2006
    Posts
    142

    Default Does OpenSessionInViewFilter maintain Session between JSF(MyFaces) and Spring

    Here is my requirement
    I am working on a CRUD application using JSF(MyFaces)- Spring - Hibernate

    The JSF backing bean viz. LoginBean retrieves userId and user Roles from the Database

    How do i store userId and user Roles into Session Object so that it can accessible by any bean in Spring Layer ?

    Not sure if OpenSessionInViewFilter provides a way to store userId and userRoles into Session .

    Any pointers/suggestions on how to access session object in Spring layer will be highly appreciated

    Regards
    Bansi

  2. #2
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •