public class SystemUser extends Account
SystemUserEntity,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FORGOT_PSWD_ACTION
String constant for the forgot password action.
|
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.
|
static java.lang.String |
SYSTEM_USER_LAST_ACTION
String constant for the last action performed.
|
ACCOUNT_ATTR_ACCESS_LAST_CERTIFIED_DATE, ACCOUNT_ATTR_ACCESS_RECERTIFICATION_LAST_ACTION, ACCOUNT_ATTR_ACCESS_RECERTIFICATION_LAST_ACTION_DATE, ACCOUNT_ATTR_CATEGORY, ACCOUNT_ATTR_COMPLIANCE, ACCOUNT_ATTR_CREATION_DATE, ACCOUNT_ATTR_HISTORICAL_PASSWORD, ACCOUNT_ATTR_HOST_SERVICE, ACCOUNT_ATTR_LAST_ACCESS_DATE, ACCOUNT_ATTR_LAST_CERTIFIED_DATE, ACCOUNT_ATTR_LAST_RECERTIFICATION_ACTION, ACCOUNT_ATTR_LAST_RECERTIFICATION_ACTION_DATE, ACCOUNT_ATTR_OWNERSHIP_TYPE, 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, CERTIFIED, CERTIFIED_ADMIN, COMPLIANCE_UNKNOWN, COMPLIANT, CONSTRAINT_VIOLATION, INACTIVE_STATUS, REJECTED_MARK, REJECTED_SUSPEND, SYSTEM_ACCOUNT, UNAUTHORIZED, USER_ACCOUNTATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE, ATTR_URI, DESCRIPTION, NAME| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRole(DistinguishedName roleDN)
Adds the given role to the user's role (group) membership.
|
java.util.Collection<ChallengeAndResponse> |
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<DistinguishedName> |
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.
|
addHistoricalPassword, cleanAccessRecertificationAttributes, cleanGroupRecertificationAttributes, getAccountType, getCompliance, getComplianceAsString, getCreationDate, getDatePasswordLastChanged, getHistoricalPasswords, getLastAccessedDate, getLastCertifiedDate, getLastCertifiedDate, getLastRecertificationAction, getLastRecertificationAction, getLastRecertificationActionDate, getLastRecertificationActionDate, getLastStatusChangeDate, getOwnerDN, getOwnershipType, getPassword, getPolicyEvaluatedIndicator, getServiceDN, getStatus, getUserId, isAnyAccessRecertificationDataPresent, isEnroleAccount, isSuspended, recertificationCertify, recertificationCertifyAccess, recertificationCertifyAdmin, recertificationCertifyAdminAccess, recertificationMark, recertificationMarkAccess, recertificationSuspend, removeComplexAttribute, restore, setAccountType, setCompliance, setHistoricalPasswords, setLastAccessedDate, setLastCertifiedDate, setLastCertifiedDate, setLastRecertificationAction, setLastRecertificationAction, setLastRecertificationActionDate, setLastRecertificationActionDate, setLastStatusChangeDate, setOwnershipType, setPassword, setPasswordLastChanged, setPolicyEvaluatedIndicator, suspend, toString, updateLastCertifiedDate, updatePasswordLastChangedaddAttribute, addAttributeValues, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getSortValue, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDNclearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedNamepublic 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_LAST_ACTION
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 FORGOT_PSWD_ACTION
public static java.lang.String PROFILE_NAME
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.public java.lang.String getName()
getName in class DirectoryObjectpublic java.util.Collection<DistinguishedName> 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<ChallengeAndResponse> 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()