Package backend.logic
Klasse SessionManager
java.lang.Object
backend.logic.SessionManager
Manages the current user session in the application.
Provides static methods to set, retrieve, and clear the logged-in user.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic User
static boolean
static void
logout()
static void
setCurrentUser
(User user)
-
Konstruktordetails
-
SessionManager
public SessionManager()
-
-
Methodendetails
-
setCurrentUser
-
getCurrentUser
-
isUserLoggedIn
public static boolean isUserLoggedIn() -
logout
public static void logout()
-