bwLehrpool Masterserver
Manages authentication and sharing of virtual machines between participating institutions
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
org.openslx.imagemaster.session.Session Class Reference

Simple representation of a user session. More...

+ Collaboration diagram for org.openslx.imagemaster.session.Session:

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
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Member Function Documentation

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 ( )

Definition at line 49 of file Session.java.

+ Here is the caller graph for this function:

String org.openslx.imagemaster.session.Session.getOrgenizationId ( )

Definition at line 69 of file Session.java.

UserInfo org.openslx.imagemaster.session.Session.getUserInfo ( )

Definition at line 74 of file Session.java.

+ Here is the caller graph for this function:

synchronized void org.openslx.imagemaster.session.Session.invalidate ( )

Definition at line 44 of file Session.java.

+ Here is the caller graph for this function:

synchronized void org.openslx.imagemaster.session.Session.refresh ( )

Definition at line 32 of file Session.java.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

synchronized boolean org.openslx.imagemaster.session.Session.timedOut ( )

Definition at line 39 of file Session.java.

+ Here is the caller graph for this function:

Member Data Documentation

final long org.openslx.imagemaster.session.Session.TIMEOUT = Globals.getSessionTimeoutUser() * 1000L
staticprivate

Definition at line 13 of file Session.java.

long org.openslx.imagemaster.session.Session.timeOut = 0
private

Definition at line 15 of file Session.java.

final UserInfo org.openslx.imagemaster.session.Session.user
private

Definition at line 16 of file Session.java.


The documentation for this class was generated from the following file: