Strategy interface and implementations for handling session-related behaviour for a newly authenticated user.

Comes with support for:

  • Protection against session-fixation attacks
  • Controlling the number of sessions an authenticated user can have open


SessionAuthenticationStrategy Allows pluggable support for HttpSession-related behaviour when an authentication occurs. 


ConcurrentSessionControlStrategy Strategy which handles concurrent session-control, in addition to the functionality provided by the base class. 
SessionFixationProtectionStrategy The default implementation of SessionAuthenticationStrategy


SessionAuthenticationException Thrown by an SessionAuthenticationStrategy to indicate that an authentication object is not valid for the current session, typically because the same user has exceeded the number of sessions they are allowed to have concurrently.