Class InvalidateLeastUsedServerMaximumSessionsExceededHandler

java.lang.Object
org.springframework.security.web.server.authentication.InvalidateLeastUsedServerMaximumSessionsExceededHandler
All Implemented Interfaces:
ServerMaximumSessionsExceededHandler

public final class InvalidateLeastUsedServerMaximumSessionsExceededHandler extends Object implements ServerMaximumSessionsExceededHandler
Implementation of ServerMaximumSessionsExceededHandler that invalidates the least recently used session(s). It only invalidates the amount of sessions that exceed the maximum allowed. For example, if the maximum was exceeded by 1, only the least recently used session will be invalidated.
Since:
6.3
  • Constructor Details

    • InvalidateLeastUsedServerMaximumSessionsExceededHandler

      public InvalidateLeastUsedServerMaximumSessionsExceededHandler()
  • Method Details