How to use redis session storage with Spring Security?

Stateless architecture plays an important role when a particular user data has to be maintained across all the servers while scaling-out. This session management keeps improving for better results in a scalable environment. Spring session management brings innovation to the Enterprise Java session management space.
Spring Session aims to provide a common infrastructure for managing sessions. This provides many benefits including
  • Accessing a session from any environment (i.e. web, messaging infrastructure, etc.)
  • In a web environment
    • Support for clustering in a vendor neutral way
    • Pluggable strategy for determining the session id
    • Easily keep the HttpSession alive when a WebSocket is active
It is important to understand that Spring session doesn’t depend on the Spring framework at all. Hence can be used in any kind of java frameworks.

Comments

Popular posts from this blog

Introduction to SOLR Search Engine

10 Useful Node JS modules

Firebase Essentials