• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

session scope

 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi. I have login functionality requirements in my web app. Hence I have the following

applicationcontext.xml

If the user is able to login successfully, what I want is for the users details to be retrieved from the database and stored in the user object for the remainder of the session.

PersonDaoImpl.java

After I have stepped through the above code in debug mode user.username is still null??? (the username string passed into the method is as I expect)
Also does anyone know how I can get the real user object as opposed to what I am getting at the moment: Users$$EnhancerByCGLIB$$30c9d74b

 
reply
    Bookmark Topic Watch Topic
  • New Topic