bwLehrpool Masterserver
Manages authentication and sharing of virtual machines between participating institutions
|
Simple representation of a user session. More...
Public Member Functions | |
Session (final UserInfo dbuser) | |
Session (final UserInfo dbuser, long timeout) | |
synchronized void | refresh () |
synchronized boolean | timedOut () |
synchronized void | invalidate () |
String | getLogin () |
String | getFirstName () |
String | getLastName () |
String | getEMail () |
String | getOrgenizationId () |
UserInfo | getUserInfo () |
Private Attributes | |
long | timeOut = 0 |
final UserInfo | user |
Static Private Attributes | |
static final long | TIMEOUT = Globals.getSessionTimeoutUser() * 1000L |
Simple representation of a user session.
Contains user-related data and information on whether the session is still valid.
Definition at line 11 of file Session.java.
org.openslx.imagemaster.session.Session.Session | ( | final UserInfo | dbuser | ) |
Definition at line 18 of file Session.java.
org.openslx.imagemaster.session.Session.Session | ( | final UserInfo | dbuser, |
long | timeout | ||
) |
Definition at line 23 of file Session.java.
String org.openslx.imagemaster.session.Session.getEMail | ( | ) |
Definition at line 64 of file Session.java.
String org.openslx.imagemaster.session.Session.getFirstName | ( | ) |
Definition at line 54 of file Session.java.
String org.openslx.imagemaster.session.Session.getLastName | ( | ) |
Definition at line 59 of file Session.java.
String org.openslx.imagemaster.session.Session.getLogin | ( | ) |
String org.openslx.imagemaster.session.Session.getOrgenizationId | ( | ) |
Definition at line 69 of file Session.java.
UserInfo org.openslx.imagemaster.session.Session.getUserInfo | ( | ) |
synchronized void org.openslx.imagemaster.session.Session.invalidate | ( | ) |
synchronized void org.openslx.imagemaster.session.Session.refresh | ( | ) |
Definition at line 32 of file Session.java.
synchronized boolean org.openslx.imagemaster.session.Session.timedOut | ( | ) |
|
staticprivate |
Definition at line 13 of file Session.java.
|
private |
Definition at line 15 of file Session.java.
|
private |
Definition at line 16 of file Session.java.