|
SiteMinder Java SDK r12.51 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netegrity.sdk.dmsapi.SmDmsUserPWState
public class SmDmsUserPWState
Represents the password state of a user within an organization.
Use the methods in this class to manage password state attributes. Those attributes are:setUserPWState() to set
a new password state object for the user that includes the modified attribute values.
get...
methods, the time is returned as a java.util.Date object. With set...
methods, you can pass the time either as a java.util.Date object or as a
numeric value of milliseconds.
| Constructor Summary | |
|---|---|
SmDmsUserPWState()
|
|
| Method Summary | |
|---|---|
java.util.Date |
getDisabledTime()
Retrieves the time the user object was disabled. |
java.util.Date |
getLastLoginTime()
Retrieves the time of the user's last successful login. |
java.util.Date |
getLastPWChangeTime()
Retrieves the time of the user's last password change. |
int |
getLoginFailures()
Retrieves the number of times the user failed to log in since the user’s last successful login. |
java.util.Date |
getPrevLoginTime()
Retrieves the next-to-last time the user logged in successfully. |
void |
setDisabledTime(java.util.Date date)
Sets the time the user object was disabled. |
void |
setDisabledTime(long date)
Sets the time the user object was disabled. |
void |
setLastLoginTime(java.util.Date date)
Sets the time of the user's last successful login. |
void |
setLastLoginTime(long date)
Sets the time of the user's last successful login. |
void |
setLastPWChangeTime(java.util.Date date)
Sets the time of the user's last password change. |
void |
setLastPWChangeTime(long date)
Sets the time of the user's last password change. |
void |
setLoginFailures(int count)
Sets the number of login failures for this user since the user's last successful login. |
void |
setPrevLoginTime(java.util.Date date)
Sets the user's previous login time. |
void |
setPrevLoginTime(long date)
Sets the user's previous login time. |
java.lang.String |
toString()
Converts the password state attribute values to string form. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SmDmsUserPWState()
| Method Detail |
|---|
public int getLoginFailures()
Retrieves the number of times the user failed to log in since the user’s last successful login.
public void setLoginFailures(int count)
Sets the number of login failures for this user since the user's last successful login.
If the input parameter is not valid, no action is taken.
count - The number of login failures to set for this user.public java.util.Date getLastLoginTime()
Retrieves the time of the user's last successful login.
The time is a java.util.Date object representing the number of milliseconds since system epoch time.
public void setLastLoginTime(java.util.Date date)
Sets the time of the user's last successful login.
If the input parameter is not valid, no action is taken.
date - The last successful login time to set for this user. The time is
passed as a java.util.Date object
representing the number of milliseconds since
system epoch time.public void setLastLoginTime(long date)
Sets the time of the user's last successful login.
If the input parameter is not valid, no action is taken.
date - The last successful login time to set for this user. The time is passed
as milliseconds since system epoch time.public java.util.Date getPrevLoginTime()
Retrieves the next-to-last time the user logged in successfully.
This login occurs just prior to the login represented by
getLastLoginTime().
public void setPrevLoginTime(java.util.Date date)
Sets the user's previous login time.
This login occurs just prior to the login represented by
getLastLoginTime().
date - The previous login time to set for this user. The time is
passed as a java.util.Date object
representing the number of milliseconds since
system epoch time.public void setPrevLoginTime(long date)
Sets the user's previous login time.
This login occurs just prior to the login represented by
getLastLoginTime().
date - The previous login time to set for this user. The time is passed
as milliseconds since system epoch time.public java.util.Date getDisabledTime()
Retrieves the time the user object was disabled.
The time is a java.util.Date object representing the number of milliseconds since system epoch time.
public void setDisabledTime(java.util.Date date)
Sets the time the user object was disabled.
If the input parameter is not valid, no action is taken.
date - The time the user object was disabled. The time is
passed as a java.util.Date object
representing the number of milliseconds since
system epoch time.public void setDisabledTime(long date)
Sets the time the user object was disabled.
If the input parameter is not valid, no action is taken.
date - The time the user object was disabled. The time is passed
as milliseconds since system epoch time.public java.util.Date getLastPWChangeTime()
Retrieves the time of the user's last password change.
The time is ajava.util.Date object representing the
number of milliseconds since system epoch time.
public void setLastPWChangeTime(java.util.Date date)
Sets the time of the user's last password change.
If the value you set changes the user directory, and the password is reset outside of SiteMinder, the password policy preventing password reuse may not work as expected.
date - The time of the user's last password change. The time is
passed as a java.util.Date object
representing the number of milliseconds since
system epoch time.public void setLastPWChangeTime(long date)
Sets the time of the user's last password change.
If the input parameter is not valid, no action is taken.
date - The time the user object was disabled. The time is passed
as milliseconds since system epoch time.public java.lang.String toString()
toString in class java.lang.Object
|
Java SDK r12.51 Mon 04/08/2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||