|
|||||||||
Home >> All >> openfuture >> bugbase >> [ domain overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
openfuture.bugbase.domain
Class LoginManager

java.lang.Objectopenfuture.bugbase.domain.LoginManager
- public class LoginManager
- extends java.lang.Object
Manager handling logins into Bug Base.
Created: Mon Jul 02 21:26:02 2001
- Version:
- $Revision: 1.3 $
Field Summary | |
private java.util.Hashtable |
lastAccess
|
private openfuture.bugbase.servlet.BugBaseServletClient |
servletProxy
|
private int |
timeout
|
private java.util.Hashtable |
userdata
|
Constructor Summary | |
LoginManager(openfuture.bugbase.servlet.BugBaseServletClient proxy,
int timeout)
Creates a new LoginManager instance. |
Method Summary | |
openfuture.bugbase.servlet.BugBaseServletClient |
getServletProxy()
Get the value of servletProxy. |
int |
getTimeout()
Get the value of timeout. |
boolean |
isValidUser(java.lang.String userid)
Check, if the userid has logged in and its last access is not more than timeout 55 seconds ago. |
User |
login(Login login)
Login into Bug Base. |
void |
logoff(java.lang.String userid)
Log Off from Bug Base. |
void |
setServletProxy(openfuture.bugbase.servlet.BugBaseServletClient v)
Set the value of servletProxy. |
void |
setTimeout(int v)
Set the value of timeout. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
servletProxy
private openfuture.bugbase.servlet.BugBaseServletClient servletProxy
timeout
private int timeout
lastAccess
private java.util.Hashtable lastAccess
userdata
private java.util.Hashtable userdata
Constructor Detail |
LoginManager
public LoginManager(openfuture.bugbase.servlet.BugBaseServletClient proxy, int timeout)
- Creates a new
LoginManager
instance.
Method Detail |
login
public User login(Login login) throws openfuture.bugbase.error.BugBaseException
- Login into Bug Base.
logoff
public void logoff(java.lang.String userid)
- Log Off from Bug Base.
isValidUser
public boolean isValidUser(java.lang.String userid)
- Check, if the userid has logged in and its last access
is not more than timeout 55 seconds ago.
getServletProxy
public openfuture.bugbase.servlet.BugBaseServletClient getServletProxy()
- Get the value of servletProxy.
setServletProxy
public void setServletProxy(openfuture.bugbase.servlet.BugBaseServletClient v)
- Set the value of servletProxy.
getTimeout
public int getTimeout()
- Get the value of timeout.
setTimeout
public void setTimeout(int v)
- Set the value of timeout.
|
|||||||||
Home >> All >> openfuture >> bugbase >> [ domain overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |