pavankjadda / eShopping

eShopping application implemented with Spring Boot, Spring Security, Spring Data and Spring Session
GNU General Public License v3.0
10 stars 10 forks source link

Store Past User Sessions in DB #6

Closed pavankjadda closed 5 years ago

pavankjadda commented 5 years ago
  1. Once user logged in, store user session in the session history table
  2. Add records to this, every time user logged in/logged out
pavankjadda commented 5 years ago

feature/6 branch created for this

pavankjadda commented 5 years ago

Look into Spring Session and find out of the box implementation available for this

pavankjadda commented 5 years ago

3 possible ways to achieve this

  1. Adding a filter to Spring Security is one possible way
  2. Backing up Spring Session table data
  3. Using HttpSessionEventPublisher bean to log everything
pavankjadda commented 5 years ago

Commit a049a818b9044774b2faab9906f548f78d78ea8b implemented this