|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.agent.tl1.security.TL1UserSecurity
This class is used to store user related security views.
| Constructor Summary | |
TL1UserSecurity()
Default constructor. |
|
| Method Summary | |
(package private) void |
clearInvalidAttempts()
This method makes the counter of invalid attempts zero. |
java.util.Vector |
getChannels()
Returns the various channels for the user permitted to access. |
java.lang.String |
getEncryptedPassword()
Used to get the password as String in encrypted form. |
(package private) int |
getInvalidAttempts()
This method returns how many intrusion attemps have been made before the current session enable. |
java.lang.String |
getLastLoginTime()
Get the last login time and date of a session using this user id. |
java.util.Vector |
getLstoi()
Get the records that are accessible to this UID. |
int |
getPage()
Used to get the password aging period. |
long |
getPageSeconds()
Get the total seconds from 1970 Jan to Password expiry period. |
int |
getPcnd()
Used to get the interval expressed in days, signifyiny the number of days that a user can use the existing password before an update becomes mandatory. |
long |
getPcndSeconds()
Get the total seconds from 1970 jan to Password stable period after expiry period. |
int |
getPcnn()
Used to get a value ,signifyiny the number of times that a user can use the existing password before an update becomes mandatory. |
int |
getPcnnAvailable()
Returns the count for the user to use the password after the page expiry.This gets decremented each and every time the user use the password after page expiry. |
int |
getPoint()
Used to get the pass word obsolescence interval expressed in days. |
long |
getPointSeconds()
Get the Password obsolescence interval in seconds. |
java.lang.String |
getState()
Used to get the state of security mechanism. |
java.util.Vector |
getUap()
Used to get the user access privilege.(A user is allowed to have up to 25 access privileges.Each user access privilege may be up to 8 alphanumeric characters long). |
int |
getUout()
Returns the aging interval of userID expressed in days. |
long |
getUoutSeconds()
Get the total seconds from 1970 jan to user id expiry date. |
java.lang.String |
getUserName()
Used to get the user name. |
(package private) void |
incInvalidAttempts()
This method increments the counter of invalid attempts whenver intrusion attempt is made. |
boolean |
isPcnn()
Returns true if Pcnn is selected. |
void |
setChannels(java.util.Vector channels)
Set the Vector of channels for which the user has the permission to access. |
void |
setEncryptedPassword(java.lang.String pWord)
Used to set Encrypted password. |
void |
setIsPcnn(boolean flag)
Sets Pcnn if it is selected, which means pcnn is selected. |
void |
setLastLoginTime(java.lang.String time)
Sets the last login time and date for a user in a session. |
void |
setLstoi(java.util.Vector records)
Set the records that are accessible to this UID. |
void |
setPage(int period)
Used to set the PassWordAgingPeriod. |
void |
setPageSeconds(long seconds)
Set The total seconds for password expiry |
void |
setPcnd(int interval)
Used to set the interval expressed in days,signifying the number of days that a user can use the existing password before an update becomes mandatory. |
void |
setPcndSeconds(long seconds)
Set the total seconds for Password stability after expiry date |
void |
setPcnn(int times)
Used to set a value ,signifying the number of times that a user can use the existing password before an update becomes mandatory. |
void |
setPcnnAvailable(int i)
Sets the pcnn count available. |
void |
setPoint(int period)
Used to set the password obsolescence interval. |
void |
setPointSeconds(long seconds)
Set the Password obsolescence interval in seconds. |
void |
setState(java.lang.String state)
Used to set the user name. |
void |
setUap(java.util.Vector access)
Used to set the user access privileges. |
void |
setUout(int interval)
Set the aging interval for the user Id. |
void |
setUoutSeconds(long seconds)
Set the total seconds for the User id exsistence. |
void |
setUserName(java.lang.String name)
Used to set the user name. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public TL1UserSecurity()
| Method Detail |
public java.lang.String getUserName()
public void setUserName(java.lang.String name)
name - - userNamepublic java.lang.String getState()
public void setState(java.lang.String state)
name - - userNamepublic java.lang.String getEncryptedPassword()
public void setEncryptedPassword(java.lang.String pWord)
pWord - - passwordpublic int getPage()
public void setPage(int period)
period - - duration of the password agingpublic int getPcnd()
public void setPcnd(int interval)
interval - - number of days for password agingpublic int getPcnn()
public void setPcnn(int times)
times - - number of times for password agingpublic int getPoint()
public void setPoint(int period)
period - - duration of password obsolescencepublic int getUout()
public void setUout(int interval)
interval - - User Name expiry periodpublic java.util.Vector getChannels()
public void setChannels(java.util.Vector channels)
public java.util.Vector getUap()
public void setUap(java.util.Vector access)
access - - User Access Privilegepublic java.util.Vector getLstoi()
public void setLstoi(java.util.Vector records)
public long getPageSeconds()
public void setPageSeconds(long seconds)
public long getPcndSeconds()
public void setPcndSeconds(long seconds)
seconds - - Password expiry in Days expressed in terms of secondspublic long getPointSeconds()
public void setPointSeconds(long seconds)
public long getUoutSeconds()
public void setUoutSeconds(long seconds)
seconds - - UOUT period interms of secondspublic boolean isPcnn()
public void setIsPcnn(boolean flag)
flag - - Sets PCNN as true, if flag is truepublic void setPcnnAvailable(int i)
i - - number of times leftpublic int getPcnnAvailable()
public java.lang.String getLastLoginTime()
public void setLastLoginTime(java.lang.String time)
time - - Last login date and timevoid incInvalidAttempts()
void clearInvalidAttempts()
int getInvalidAttempts()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||