Class ConcurrentSessionControlServerAuthenticationSuccessHandler

java.lang.Object
org.springframework.security.web.server.authentication.ConcurrentSessionControlServerAuthenticationSuccessHandler
All Implemented Interfaces:
ServerAuthenticationSuccessHandler

public final class ConcurrentSessionControlServerAuthenticationSuccessHandler extends Object implements ServerAuthenticationSuccessHandler
Controls the number of sessions a user can have concurrently authenticated in an application. It also allows for customizing behaviour when an authentication attempt is made while the user already has the maximum number of sessions open. By default, it allows a maximum of 1 session per user, if the maximum is exceeded, the user's least recently used session(s) will be expired.
Since:
6.3
See Also: