|
|||||||||||
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 | +--com.ibm.itim.dataservices.model.system.SystemUser
Value Object class that holds the attribute information of a system (platform) user in the data model. Although this class name indicates it represents a user, it is really just a specialization of an account hosted on the provisioning platform.
SystemUserEntity
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
ENROLE_MANAGER
Static string constant for the userID of the default enrole administration account |
static java.lang.String |
PROFILE_NAME
|
static java.lang.String |
SYSTEM_ADMIN
Static string constant for the owner of the enrole manager account. |
static java.lang.String |
SYSTEM_USER_ATTR_CHALLENGE_RESPONSE
String constant for the challenge/response attribute name. |
static java.lang.String |
SYSTEM_USER_ATTR_CHANGE_PASSWORD_REQUIRED
String constant for the change password required attribute name. |
static java.lang.String |
SYSTEM_USER_ATTR_DELEGATE
String constant for the delegation flag attribute name. |
static java.lang.String |
SYSTEM_USER_ATTR_DELEGATE_INFO
String constant for the delegate attribute name. |
static java.lang.String |
SYSTEM_USER_ATTR_HOME_PAGE
String constant for the homepage attribute name. |
static java.lang.String |
SYSTEM_USER_ATTR_NUM_LOGON_ATTEMPT
String constant for the number of logon attempts attribute name. |
static java.lang.String |
SYSTEM_USER_ATTR_PASSWORD_LAST_CHANGED
Deprecated. use Account.ACCOUNT_ATTR_PASSWORD_LAST_CHANGED |
static java.lang.String |
SYSTEM_USER_ATTR_ROLES
String constant for the roles (groups) attribute name. |
static java.lang.String |
SYSTEM_USER_ATTR_WORKFLOW
String constant for the workflow preferences attribute name. |
Fields inherited from class com.ibm.itim.dataservices.model.domain.Account |
---|
ACCOUNT_ATTR_COMPLIANCE, ACCOUNT_ATTR_CREATION_DATE, ACCOUNT_ATTR_HISTORICAL_PASSWORD, ACCOUNT_ATTR_HOST_SERVICE, ACCOUNT_ATTR_LAST_ACCESS_DATE, ACCOUNT_ATTR_PASSWORD, ACCOUNT_ATTR_PASSWORD_LAST_CHANGED, ACCOUNT_ATTR_PERSON, ACCOUNT_ATTR_SERVICE, ACCOUNT_ATTR_STATUS, ACCOUNT_ATTR_STATUS_LAST_CHANGED_DATE, ACCOUNT_ATTR_USERID, ACTIVE_STATUS, COMPLIANCE_UNKNOWN, COMPLIANT, CONSTRAINT_VIOLATION, INACTIVE_STATUS, UNAUTHORIZED |
Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObject |
---|
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE |
Constructor Summary | |
---|---|
SystemUser()
Default empty constructor |
|
SystemUser(AttributeValues attributes)
Constructs object with attribute information. |
|
SystemUser(java.lang.String name,
AttributeValues attributes)
Constructs object with name (user id) and attribute information. |
Method Summary | |
---|---|
void |
addRole(DistinguishedName roleDN)
Adds the given role to the user's role (group) membership. |
java.util.Collection |
getChallengesAndResponses()
Returns password challenge question/response list for the user. |
WorkflowQuery |
getDefaultWorkflowQuery()
Returns the user's preferences for querying workflow status. |
java.lang.String |
getHomePage()
Returns the user's current home page selection. |
java.lang.String |
getName()
Returns the name of the system user (user id). |
int |
getNumberOfLogonAttempts()
Returns the number of consecutive unsuccessful logon attempts the user has made. |
java.util.Date |
getResponseLastChange()
Returns the last time the user's challenge/response list was updated. |
java.util.Collection |
getRoles()
Returns the user's roles (groups). |
boolean |
isChangePasswordRequired()
Returns whether the user is required to change their password at next logon. |
boolean |
isDelegated()
Returns whether the user is currently delegating their responsibilities to another user. |
void |
removeRole(DistinguishedName roleDN)
Removes the given role from the user's role (group) membership. |
void |
setChallengesAndResponse(java.util.Collection responses)
Changes the user's password challenge question/response list. |
void |
setDefaultWorkflowQuery(WorkflowQuery query)
Changes the user's preferences for querying workflow status. |
void |
setHomePage(java.lang.String homepage)
Changes the current home page selection for the user. |
void |
setIsChangePasswordRequired(boolean toggle)
Changes whether the user must change their password at next logon. |
void |
setNumberOfLogonAttempts(int logonAttempts)
Changes the number of unsuccessful consecutive logon attempts this user has made. |
void |
setRoles(java.util.Collection roles)
Changes the user's role (group) membership. |
void |
updateResponseLastChange()
Changes the last time the user's challenge/response list was updated to the current system time. |
Methods inherited from class com.ibm.itim.dataservices.model.domain.Account |
---|
addHistoricalPassword, getCompliance, getComplianceAsString, getCreationDate, getDatePasswordLastChanged, getHistoricalPasswords, getLastAccessedDate, getLastStatusChangeDate, getOwnerDN, getPassword, getServiceDN, getStatus, getUserId, isEnroleAccount, isSuspended, restore, setCompliance, setHistoricalPasswords, setLastAccessedDate, setLastStatusChangeDate, setPassword, setPasswordLastChanged, suspend, toString, updatePasswordLastChanged |
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObject |
---|
addAttribute, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, 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 ENROLE_MANAGER
public static final java.lang.String SYSTEM_ADMIN
public static final java.lang.String SYSTEM_USER_ATTR_DELEGATE
public static final java.lang.String SYSTEM_USER_ATTR_HOME_PAGE
public static final java.lang.String SYSTEM_USER_ATTR_DELEGATE_INFO
public static final java.lang.String SYSTEM_USER_ATTR_WORKFLOW
public static final java.lang.String SYSTEM_USER_ATTR_ROLES
public static final java.lang.String SYSTEM_USER_ATTR_PASSWORD_LAST_CHANGED
public static final java.lang.String SYSTEM_USER_ATTR_NUM_LOGON_ATTEMPT
public static final java.lang.String SYSTEM_USER_ATTR_CHANGE_PASSWORD_REQUIRED
public static final java.lang.String SYSTEM_USER_ATTR_CHALLENGE_RESPONSE
public static java.lang.String PROFILE_NAME
Constructor Detail |
public SystemUser()
public SystemUser(java.lang.String name, AttributeValues attributes)
name
- Identifier representing the system user (user id).attributes
- AttributeValues holding the attributes of the system user.public SystemUser(AttributeValues attributes)
attributes
- AttributeValues holding the attributes of the system user.Method Detail |
public java.lang.String getName()
getName
in class DirectoryObject
public java.util.Collection getRoles()
public void setRoles(java.util.Collection roles)
roles
- Collection of DistinguishedNames of user's roles (groups).public void addRole(DistinguishedName roleDN)
roleDN
- DisinguishedName of the role (group) to add.public void removeRole(DistinguishedName roleDN)
roleDN
- DisinguishedName of the role (group) to remove.public java.lang.String getHomePage()
public void setHomePage(java.lang.String homepage)
homepage
- New home page selection.public WorkflowQuery getDefaultWorkflowQuery()
public void setDefaultWorkflowQuery(WorkflowQuery query)
query
- WorkflowQuery holding new preferences.public void setNumberOfLogonAttempts(int logonAttempts)
logonAttempts
- Number of logon attempts.public int getNumberOfLogonAttempts()
public java.util.Collection getChallengesAndResponses()
public void setChallengesAndResponse(java.util.Collection responses)
responses
- Collection of ChallengeAndResponses representing the user's required
challenge/response pairs.public boolean isChangePasswordRequired()
public void setIsChangePasswordRequired(boolean toggle)
toggle
- True if the user must change password, false if not.public boolean isDelegated()
public java.util.Date getResponseLastChange()
public void updateResponseLastChange()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |