I just started to learn Spring Security and have some trouble. I want to configure User login on page with password and username which stored in database during registration
As a side note i see from the code and from comment i doubt you have injected SessionFactory from GuestBookDAOImpl, thats causes NPE upon method call on the DAO layer. Inject it either from xml config or annotations.