|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.manifoldcf.ui.beans.AdminProfile
public class AdminProfile
The profile object contains an admin user's login information, and helps establish the session model for the application. This particular bean maintains the user (against the IAdminUserManager service).
| Field Summary | |
|---|---|
static java.lang.String |
_rcsid
|
| Constructor Summary | |
|---|---|
AdminProfile()
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
getLoggedOn()
Get the logged-in status, which will be false if the log-in did not succeed, or timed out. |
java.lang.String |
getLoginTime()
Get the current login time as a string. |
long |
getLoginTimeLong()
Get the current login time as a long. |
boolean |
getManageUsers()
Get whether this user can manage users. |
java.lang.String |
getUserID()
Get the admin user id. |
java.lang.String |
session()
Get the current session identifier. |
void |
setPassword(java.lang.String userPassword)
Log on the user, with the already-set user id and company description. |
void |
setUserID(java.lang.String userID)
Set the admin user id. |
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent e)
|
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent e)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String _rcsid
| Constructor Detail |
|---|
public AdminProfile()
| Method Detail |
|---|
public java.lang.String session()
public void setUserID(java.lang.String userID)
userID - is the ID of the admin user to log in.public java.lang.String getUserID()
public boolean getManageUsers()
public void setPassword(java.lang.String userPassword)
userPassword - is the login password for the user.public boolean getLoggedOn()
public java.lang.String getLoginTime()
public long getLoginTimeLong()
public void valueBound(javax.servlet.http.HttpSessionBindingEvent e)
valueBound in interface javax.servlet.http.HttpSessionBindingListenerpublic void valueUnbound(javax.servlet.http.HttpSessionBindingEvent e)
valueUnbound in interface javax.servlet.http.HttpSessionBindingListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||