Package edu.wisc.game.web
Class ExtendedSessionManagement
java.lang.Object
edu.wisc.game.web.ExtendedSessionManagement
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
FieldsModifier and TypeFieldDescriptionstatic final String
static final int
max lifetime of an extended session, in hours -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
COOKIE_NAME
- See Also:
-
maxDays
public static final int maxDaysmax lifetime of an extended session, in hours- See Also:
-
-
Constructor Details
-
ExtendedSessionManagement
public ExtendedSessionManagement()
-