Package rife.authentication
Interface ListSessions
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This interface to be able to list all the active sessions in a SessionManager
without having to store them all in memory.
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionboolean
foundSession
(long userId, String authData, String authId) This method is called when active authentication session was found.
-
Method Details
-
foundSession
This method is called when active authentication session was found.
- Parameters:
userId
- the unique ID of the userauthData
- data that was associated with the session when it was initiatedauthId
- the unique identifier of this authentication session- Returns:
true
when the next active session should be returned; orfalse
if the process should be interrupted- Since:
- 1.0
-