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.
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 TypeMethodDescriptionintendSessions(BasicUserInfo user, String why) Ends every open session of the user.
Method Details
endSessions
Ends every open session of the user.- Parameters:
user- The user.why- Why, for the log.- Returns:
- The number of sessions ended.