|
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.apiutil.SmUserPasswordState
public class SmUserPasswordState
Allows to set and retrieve information about a user state and password state. The information includes user state(enabled/disbaled) and reason for disabled state. The information also includes the password state of a user which includes login failures, last login time, disabled time,last password change and previous login time. It is possible that all the values are not populated and it depends on which API was called on the object.
| Field Summary | |
|---|---|
static int |
ADMIN_DISABLED
|
static int |
DIR_NATIVE_DISABLED
|
static int |
INACTIVITY
|
static int |
MAX_LOGIN_FAIL
|
static int |
PW_EXIRED
|
static int |
PW_MUST_CHANGE
|
| Constructor Summary | |
|---|---|
SmUserPasswordState()
Construct a user context instance. |
|
| Method Summary | |
|---|---|
int |
getDisabledTime()
Gets the disabled tiem of the user password state. |
boolean |
getEmptyPasswordHistory()
Gets the password history of the user password state.If true, means password history is empty. |
int |
getLastLoginTime()
Gets the last login time of the user password state. |
int |
getLastPasswordChange()
Gets the last password change time of the user. |
int |
getLoginFailures()
Gets the login failures of the user password state. |
int |
getPreviousLoginTime()
Gets the previous login time of the user password state. |
int |
getUserState()
Gets the user state as enabled/disabled with the reason for disabled state, if disabled. |
void |
populate(java.util.Hashtable properties)
Read specified properties from hashtable into class members. |
void |
setDisabledTime(int disabledTime)
Sets the disabled time of the user password state. |
void |
setEmptyPasswordHistory(boolean emptyPwdHistory)
Sets the password history of the user password state.If true, empty the password history. |
void |
setLastLoginTime(int lastLoginTime)
Sets the last login time of the user password state. |
void |
setLastPasswordChange(int lastPasswordChange)
Sets the last password change time of the user. |
void |
setLoginFailures(int loginFailures)
Sets the login failures of the user password state. |
void |
setPreviousLoginTime(int previousLoginTime)
Sets the previous login time of the user password state. |
void |
setUserState(int userState)
Sets the user state as enabled/disbaled state. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ADMIN_DISABLED
public static final int MAX_LOGIN_FAIL
public static final int INACTIVITY
public static final int PW_EXIRED
public static final int PW_MUST_CHANGE
public static final int DIR_NATIVE_DISABLED
| Constructor Detail |
|---|
public SmUserPasswordState()
| Method Detail |
|---|
public int getUserState()
public void setUserState(int userState)
userState - The user state.public int getLoginFailures()
public void setLoginFailures(int loginFailures)
loginFailures - The number of login failures of user password.public int getLastLoginTime()
public void setLastLoginTime(int lastLoginTime)
lastLoginTime - The last login time of the user password.public int getDisabledTime()
public void setDisabledTime(int disabledTime)
disabledTime - The disbaled time of user password.public int getLastPasswordChange()
public void setLastPasswordChange(int lastPasswordChange)
lastPasswordChange - The last password change time of user
password.public int getPreviousLoginTime()
public void setPreviousLoginTime(int previousLoginTime)
previousLoginTime - The previous login time of the user password.public boolean getEmptyPasswordHistory()
public void setEmptyPasswordHistory(boolean emptyPwdHistory)
emptyPwdHistory - boolean indicationg the user password history.public void populate(java.util.Hashtable properties)
Read specified properties from hashtable into class members.
properties - Properties.
|
Java SDK r12.51 Mon 04/08/2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||