Package edu.wisc.game.web
Class ExtendedSessionManagement
java.lang.Object
edu.wisc.game.web.ExtendedSessionManagement
public class ExtendedSessionManagement extends Object
This class is used to manage extended sessions, which survive over the
web server restart. This feature is used when the user checks the
"remember me" button on login. The information is stored
persistently in a User structure in the database,
FIXME: Since a new cookie (with a new single-use password) is generated every time a user tries to log in, and only one such single-use password is stored, a user cannot be logged in from more than one user agent at once.
-
Field Summary
Fields Modifier and Type Field Description static String
COOKIE_NAME
static int
maxDays
max lifetime of an extended session, in hours -
Constructor Summary
Constructors Constructor Description ExtendedSessionManagement()
-
Method Summary
-
Field Details
-
COOKIE_NAME
- See Also:
- Constant Field Values
-
maxDays
public static final int maxDaysmax lifetime of an extended session, in hours- See Also:
- Constant Field Values
-
-
Constructor Details
-
ExtendedSessionManagement
public ExtendedSessionManagement()
-