If a user has reached the maximum number of permitted sessions, the behaviour depends on the exceptionIfMaxExceeded property. The default behaviour is to expired the least recently used session, which will be invalidated by the {@link ConcurrentSessionFilter} if accessed again. If exceptionIfMaxExceeded isset to true, however, the user will be prevented from starting a new authenticated session.
This strategy can be injected into both the {@link SessionManagementFilter} and instances of{@link AbstractAuthenticationProcessingFilter} (typically {@link UsernamePasswordAuthenticationFilter}). @author Luke Taylor @since 3.0 @deprecated Use {@link ConcurrentSessionControlAuthenticationStrategy} instead
|
|