|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--openfuture.bugbase.domain.LoginManager
Manager handling logins into Bug Base.
Created: Mon Jul 02 21:26:02 2001
| Constructor Summary | |
LoginManager(BugBaseServletClient proxy,
int timeout)
Creates a new LoginManager instance. |
|
| Method Summary | |
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 seconds ago. |
User |
login(Login login)
Login into Bug Base. |
void |
logoff(java.lang.String userid)
Log Off from Bug Base. |
void |
setServletProxy(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 |
| Constructor Detail |
public LoginManager(BugBaseServletClient proxy,
int timeout)
LoginManager instance.proxy - a proxy to
BugBaseServlet.timeout - time in seconds after last access a login gets
invalid.| Method Detail |
public User login(Login login)
throws I18NException
login - a login objectnull, if the login
failed.public void logoff(java.lang.String userid)
userid - userid to log offpublic boolean isValidUser(java.lang.String userid)
timeout seconds ago.userid - the useridtimeout seconds ago. If
userid is null, false
ist returned.public BugBaseServletClient getServletProxy()
public void setServletProxy(BugBaseServletClient v)
v - Value to assign to servletProxy.public int getTimeout()
public void setTimeout(int v)
v - Value to assign to timeout.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||