Recently I’ve been working on a Spring Session project. I thought that It would be useful for other developers to share some links of my research about this topic. This is going to be the first of a post series about development links in the WWW.
The following links are about understanding and configuring a Spring project using Spring Security and Spring Session.
- https://stackoverflow.com/a/3106909/3133256 . First of all, you should know how a session is managed by a servlet container. This stackoverflow post explains it pretty well.
- https://www.infoq.com/articles/Next-Generation-Session-Management-with-Spring-Session . This InfoQ post explains what is, and how SpringSession internally works and how is it related to a HttpSession.
- https://www.slideshare.net/dgomezg/managing-users-data-with-spring-session . I found this slides pretty handly because it explains this topic with figures and it gives a very fast view in how to use Redis to persist Spring sessions.
- https://www.baeldung.com/spring-security-session . You should also read how to configure Spring Security in order to manage your sessions. These post explains how to configure the sessionManagement() part of Spring Security and talks about other interesting topics like Session concurrency, session Cookies… Recommended.
If you are interested, you can also read about how to start a Spring project in this post.