Interface AdminAccountChanges.ISessionEnder

Enclosing class:
AdminAccountChanges
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface AdminAccountChanges.ISessionEnder
Ends the open sessions of a user in every application: UserSessionEnder.endAll in the server, a fake in the tests.
Author:
Christopher Mindus
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Ends every open session of the user.
  • Method Details

    • endSessions

      int endSessions(BasicUserInfo user, String why)
      Ends every open session of the user.
      Parameters:
      user - The user.
      why - Why, for the log.
      Returns:
      The number of sessions ended.