Rubrik > Development > Java > Spring > Spring Security >

    23.07.2008 13:01:16  Development > Java > Spring > Spring Security    

Spring Security - ConcurrentSessionController configuration ( Acegi )

Spring, Acegi Security, Concurrent Session Controller
Configure the number of sessions/logons a user can process in parallel.

Add a HttpSessionEvent Listener to web.xml - session creation, expiration and destroy event publisher, Acegis ConcurrentSessionController will subscribe to and handle the session events
Tell the AuthenticationManager that there is a ConcurrentSessionController :
Create a SessionFilter and SessionRegistry:
Activate the session filter at the beginning of the FilterChain: