TechDocs


   Rubrik > Spring > Spring Security >


    23.07.2008 13:01:16  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.

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



Übersicht