|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.dataservices.model.DirectoryEntry | +--com.ibm.itim.dataservices.model.DirectoryObject | +--com.ibm.itim.dataservices.model.domain.Account
Value Object class that holds the attribute information of an account in the data model.
AccountEntity
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
ACCOUNT_ATTR_COMPLIANCE
String constant for the comliance attribute name. |
static java.lang.String |
ACCOUNT_ATTR_CREATION_DATE
String constant for the creation date attribute name. |
static java.lang.String |
ACCOUNT_ATTR_HISTORICAL_PASSWORD
String constant for the historical password attribute name. |
static java.lang.String |
ACCOUNT_ATTR_HOST_SERVICE
Deprecated. |
static java.lang.String |
ACCOUNT_ATTR_LAST_ACCESS_DATE
String constant for last access time attribute name. |
static java.lang.String |
ACCOUNT_ATTR_PASSWORD
String constant for the password attribute name. |
static java.lang.String |
ACCOUNT_ATTR_PASSWORD_LAST_CHANGED
String constant for the last password changed date attribute name. |
static java.lang.String |
ACCOUNT_ATTR_PERSON
Deprecated. |
static java.lang.String |
ACCOUNT_ATTR_SERVICE
Deprecated. |
static java.lang.String |
ACCOUNT_ATTR_STATUS
String constant for the status attribute name. |
static java.lang.String |
ACCOUNT_ATTR_STATUS_LAST_CHANGED_DATE
String constant for last status change date attribute name. |
static java.lang.String |
ACCOUNT_ATTR_USERID
String constant for the user id attribute name. |
static int |
ACTIVE_STATUS
Int constant indicating the active status. |
static int |
COMPLIANCE_UNKNOWN
Int constant indicating the account's compliance is unknown. |
static int |
COMPLIANT
Int constant indicating the account is compliant. |
static int |
CONSTRAINT_VIOLATION
Int constant indicating the account has a constraint violation (not compliant with policies). |
static int |
INACTIVE_STATUS
Int constant indicating the inactive, or suspended, status. |
static int |
UNAUTHORIZED
Int constant indicating the account is not authorized (not compliant with policies). |
Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObject |
---|
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE |
Constructor Summary | |
---|---|
Account()
Default empty constructor |
|
Account(java.lang.String profileName)
Constructs object with profile. |
|
Account(java.lang.String profileName,
AttributeValues attributes)
Deprecated. Use Account(String profileName) and setAttributes(attributes) instead |
Method Summary | |
---|---|
void |
addHistoricalPassword(PasswordHistoryItem pwd)
Add a historical password for the account. |
int |
getCompliance()
Returns the compliance of the account. |
static java.lang.String |
getComplianceAsString(int compliance)
Returns a string describing the specified compliance value. |
java.util.Date |
getCreationDate()
Returns the date and time the account was created. |
java.util.Date |
getDatePasswordLastChanged()
Returns the date and time the user's password was last changed. |
java.util.List |
getHistoricalPasswords()
Gets set of historical passwords for the account. |
java.util.Date |
getLastAccessedDate()
Gets the date the account was last accessed. |
java.util.Date |
getLastStatusChangeDate()
Returns the date and time the the account's status was last changed. |
DistinguishedName |
getOwnerDN()
Returns the account's owner DN. |
byte[] |
getPassword()
Returns the password of the account. |
DistinguishedName |
getServiceDN()
Returns the account's service DN. |
int |
getStatus()
Returns the status of the account. |
java.lang.String |
getUserId()
Returns the userid of the account. |
boolean |
isEnroleAccount()
Deprecated. |
boolean |
isSuspended()
Determines whether the account has been suspended. |
void |
restore()
Restores the account, changing its status to ACTIVE_STATUS. |
void |
setCompliance(int compliance)
Sets the compliance of the account. |
void |
setHistoricalPasswords(java.util.List hisPasswords)
Set a new historical password for the account. |
void |
setLastAccessedDate(java.util.Date lastAccessDate)
Sets the date the account was last accessed. |
void |
setLastStatusChangeDate(java.util.Date changeDate)
Changes the date and time the account's status was last changed. |
void |
setPassword(byte[] newPassword)
Sets the new password of the account. |
void |
setPasswordLastChanged(java.util.Date changeDate)
Changes the date and time the account's password was last changed. |
void |
suspend()
Suspends the account, changing its status to INACTIVE_STATUS. |
java.lang.String |
toString()
Returns a string representation of the object. |
void |
updatePasswordLastChanged()
Updates the date and time the user's password was last changed. |
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObject |
---|
addAttribute, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getName, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN |
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryEntry |
---|
clearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String ACCOUNT_ATTR_HOST_SERVICE
public static final java.lang.String ACCOUNT_ATTR_PERSON
public static final java.lang.String ACCOUNT_ATTR_SERVICE
public static final java.lang.String ACCOUNT_ATTR_STATUS
public static final java.lang.String ACCOUNT_ATTR_COMPLIANCE
public static final java.lang.String ACCOUNT_ATTR_USERID
public static final java.lang.String ACCOUNT_ATTR_PASSWORD
public static final java.lang.String ACCOUNT_ATTR_HISTORICAL_PASSWORD
public static final java.lang.String ACCOUNT_ATTR_LAST_ACCESS_DATE
public static final java.lang.String ACCOUNT_ATTR_PASSWORD_LAST_CHANGED
public static final java.lang.String ACCOUNT_ATTR_CREATION_DATE
public static final java.lang.String ACCOUNT_ATTR_STATUS_LAST_CHANGED_DATE
public static final int ACTIVE_STATUS
public static final int INACTIVE_STATUS
public static final int COMPLIANCE_UNKNOWN
public static final int COMPLIANT
public static final int UNAUTHORIZED
public static final int CONSTRAINT_VIOLATION
Constructor Detail |
public Account()
public Account(java.lang.String profileName, AttributeValues attributes)
profileName
- Name of the profile (NTAccount, Exchange Account,
etc.) identifying the type of this account as listed in
Configuration > Entities within the IBM Tivoli Idenitity Manager UI.attributes
- AttributeValues holding the attributes of the account.public Account(java.lang.String profileName)
profileName
- Name of the profile (NTAccount, Exchange Account,
etc.) identifying the type of this account as listed in
Configuration > Entities within the IBM Tivoli Idenitity Manager UI.Method Detail |
public void addHistoricalPassword(PasswordHistoryItem pwd)
pwd
- binary representation of the historical password.public java.util.Date getDatePasswordLastChanged()
public java.util.List getHistoricalPasswords()
public void setHistoricalPasswords(java.util.List hisPasswords)
hisPasswords
- A set of new historical password for the account.public java.util.Date getLastAccessedDate()
public void setLastAccessedDate(java.util.Date lastAccessDate)
lastAccessDate
- Date of last access.public boolean isEnroleAccount()
public boolean isSuspended()
public DistinguishedName getOwnerDN()
public byte[] getPassword()
public void setPassword(byte[] newPassword)
newPassword
- byte[] holding new hashed password.public DistinguishedName getServiceDN()
public int getStatus()
public java.lang.String getUserId()
public void suspend()
public void restore()
public int getCompliance()
public static java.lang.String getComplianceAsString(int compliance)
public void setCompliance(int compliance)
compliance
- Enumerated int, COMPLIANCE_UNKNOWN, COMPLIANT,
UNAUTHORIZED, or CONSTRAINT_VIOLATION.public void updatePasswordLastChanged()
public void setPasswordLastChanged(java.util.Date changeDate)
changeDate
- Date holding the date and time the password was changed.public java.util.Date getCreationDate()
public java.util.Date getLastStatusChangeDate()
public void setLastStatusChangeDate(java.util.Date changeDate)
changeDate
- Date holding the date and time the account's status was last changed.public java.lang.String toString()
toString
in class DirectoryObject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |