Package oracle.iam.identity.usermgmt.vo
Class User
java.lang.Object
oracle.iam.identity.usermgmt.vo.User
- All Implemented Interfaces:
Serializable
,Identity
- Direct Known Subclasses:
User
The
User
class is a value object class to hold the Identifier, attribute
name-value pair and direct reports of user.- Author:
- abhimanyu seth
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvides the date on which the user account was locked.Provides the status of the user account.getAttribute
(String attr) Get the value of the specified user attributename
.Provides a set of all the user attribute names.Provides a map of all attribute-value pair of user.Provides the date on which the user account will get deleted automatically.Gets whether the user should be asked to change the password at next login.Provides the common name specified for the user.Gets the user country.Gets the date on which the user was created.Gets the user departmentNumber.Provides the date on which the user was de-provisioned of resources.Provides the date set for the user on which its resources would be de-provisioned.Deprecated.Provides a display name specified for the user.getEmail()
Provides the email set for the user.Deprecated.Gets the type of employee the user is created as.Provides the date set for the user on which the account ceases to be in effect.Provides GUID of the user.Provides the first name specified for the user.Gets the generation qualifier of the user created within the LDAP system.getId()
Provides the user unique identifier.Provides the last name specified for the user.Gets the Locale set for the user.getLogin()
Provides the login information of the user.Gets the number of login attempts made by the user.Gets the entity id of the user's manager.Gets if the user account is manually locked.Provides the middle name specified for the user.* Gets the user MobileNumber.Provides the Key of the organization the user is a member of.Gets if the user password can be changed.Gets the password ccreation date for the user.Gets if the user password has expired.Gets the date on which the user password will expire.Gets whether the user password is auto-generated.Deprecated TO get password min age date, get applicable password policy of the user Get min age in days from the policy and add that to password creation dateGets if the user password must be changed.Gets if the user password can expire.Gets the number of attempts the user has made to reset the password.Gets the date on which the user should be warned about password due for expiration.Gets if the user has been warned about password due for expiration.Provides the flag value which tells if the access policies needs to be applied to the user.Provides the date on which the user was provisioned with resources.Provides the date set for the user on which it would be provisioned with resources.Provides the date set for the user on which the account will get into effect.Provides the current status of the user.Deprecated.Gets whether the user is disabled.Provides the 'Xellerate Type' of the user.void
setAccountStatus
(String accountStatus) Sets the status of the user account.void
setAttribute
(String attr, Object val) Adds the attributeattr
and it's valueval
.void
setCommonName
(String commonName) Sets the common name of the user.void
setCountry
(String country) Sets the user country.void
setDepartmentNumber
(String departmentNumber) Sets the user departmentNumber.void
setDeprovisionedDate
(Date deprovisionedDate) Sets the date on which the user is de-provisioned of resources.void
setDeprovisioningDate
(Date deprovisioningDate) Sets the date for the user on which its resources would be de-provisioned.void
setDescription
(String description) Deprecated.void
setDisplayName
(String displayName) Sets the display name of the user as base value.void
Sets the email of the user.void
setEmployeeNumber
(String employeeNumber) Deprecated.void
setEmployeeType
(String employeeType) Sets the type of employee the user is to be created as.void
setEndDate
(Date endDate) Sets the date set for the user on which the account ceases to be in effect.void
setFirstName
(String firstName) Sets the first name of the user.void
setGenerationQualifier
(String genQualifier) Sets the generation qualifier of the user in the LDAP system.void
setLastName
(String lastName) Sets the last name of the user.void
Sets the Locale for the user.void
Sets the user login.void
setManagerKey
(Long managerKey) Sets the entity id of the user to be set as the manager.void
setManagerKey
(String managerKey) Sets the entity id of the user to be set as the manager.void
setMiddleName
(String middleName) Sets the middle name of the user.void
* Sets the user MobileNumber.void
setOrganizationKey
(String orgKey) Sets the Key of the organization the user is a member of.void
setPasswordWarned
(String passwordWarned) Deprecated.void
setPolicyUpdateEnabled
(String policyUpdateEnabled) Sets the flag value which tells if the access policies needs to be applied to the user.void
setProvisionedDate
(Date provisionedDate) Sets the date on which the user is provisioned with resources.void
setProvisioningDate
(Date provisioningDate) Sets the date for the user on which it would be provisioned with resources.void
setStartDate
(Date startDate) Sets the date for the user on which the account will get into effect.void
Sets the current user status.void
setTimezone
(TimeZone timezone) Deprecated.void
setUserDisabled
(String userDisabled) Sets whether the user is disabled.void
setUserType
(String userType) Sets the 'Xellerate Type' of the user.toString()
Provides the string representation ofUser
value object.
-
Constructor Details
-
User
Constructs a user identity object with specified unique IdentifierentityId
.- Parameters:
entityId
- The GUID of the user.
-
User
Constructs a user identity object with specified unique IdentifierentityId
and amap
of attribute name-value pair.- Parameters:
entityId
- The GUID of the user.attrs
- TheMap
of attribute name-value pair.
-
-
Method Details
-
setAttribute
Adds the attributeattr
and it's valueval
.- Specified by:
setAttribute
in interfaceIdentity
- Parameters:
attr
- The attribute to be added.val
- The value of the attribute.
-
getAttribute
Get the value of the specified user attributename
.- Specified by:
getAttribute
in interfaceIdentity
- Parameters:
attr
- The attribute whose value is to be returned.- Returns:
- the value of the attribute. null if the attribute is not present.
-
getEntityId
Provides GUID of the user.- Specified by:
getEntityId
in interfaceIdentity
- Returns:
- GUID of the user.
-
getAttributes
Provides a map of all attribute-value pair of user.- Specified by:
getAttributes
in interfaceIdentity
- Returns:
- A
map
of all attribute-value pair of this user.
-
getAttributeNames
Provides a set of all the user attribute names.- Specified by:
getAttributeNames
in interfaceIdentity
- Returns:
- A set of all the user attribute names.
-
getId
Provides the user unique identifier. This is a read-only value.- Returns:
- unique identifier of the user
-
getLogin
Provides the login information of the user.- Returns:
- login value of the user
-
setLogin
Sets the user login. Null is not a supported value for user login- Parameters:
login
- The login to be set for the user
-
getOrganizationKey
Provides the Key of the organization the user is a member of.- Returns:
- the Key of the organization the user is a member of
-
setOrganizationKey
Sets the Key of the organization the user is a member of.- Parameters:
orgKey
- the Key of the organization the user is a member of
-
getFirstName
Provides the first name specified for the user.- Returns:
- the first name specified for the user
-
setFirstName
Sets the first name of the user.- Parameters:
firstName
- first name to be specified for the user
-
getLastName
Provides the last name specified for the user.- Returns:
- the last name specified for the user
-
setLastName
Sets the last name of the user.- Parameters:
lastName
- the last name to be specified for the user
-
getMiddleName
Provides the middle name specified for the user.- Returns:
- ; the middle name specified for the user
-
setMiddleName
Sets the middle name of the user.- Parameters:
middleName
- the middle name to be specified for the user
-
getDisplayName
Provides a display name specified for the user.- Returns:
- the display name specified for the user
-
setDisplayName
Sets the display name of the user as base value.- Parameters:
displayName
- the base diaplay name to be specified for the user
-
getCommonName
Provides the common name specified for the user.- Returns:
- the common name specified for the user
-
setCommonName
Sets the common name of the user.- Parameters:
commonName
- the common name to be specified for the user
-
getStartDate
Provides the date set for the user on which the account will get into effect.- Returns:
- start date of the user
-
setStartDate
Sets the date for the user on which the account will get into effect.- Parameters:
startDate
- the date to be set as the start date
-
getEndDate
Provides the date set for the user on which the account ceases to be in effect.- Returns:
- end date of the user
-
setEndDate
Sets the date set for the user on which the account ceases to be in effect.- Parameters:
endDate
- the date to be set as the end date
-
getProvisioningDate
Provides the date set for the user on which it would be provisioned with resources.- Returns:
- the provisioning date set for the user
-
setProvisioningDate
Sets the date for the user on which it would be provisioned with resources.- Parameters:
provisioningDate
- the provisioning date for the user
-
getDeprovisioningDate
Provides the date set for the user on which its resources would be de-provisioned.- Returns:
- the de-provisioning date set for the user
-
setDeprovisioningDate
Sets the date for the user on which its resources would be de-provisioned.- Parameters:
deprovisioningDate
- the de-provisioning date for the user
-
getProvisionedDate
Provides the date on which the user was provisioned with resources.- Returns:
- the provisioned date for the user
-
setProvisionedDate
Sets the date on which the user is provisioned with resources.- Parameters:
provisionedDate
- the provisioned date for the user
-
getDeprovisionedDate
Provides the date on which the user was de-provisioned of resources.- Returns:
- the de-provisioned date for the user
-
setDeprovisionedDate
Sets the date on which the user is de-provisioned of resources.- Parameters:
deprovisionedDate
- the de-provisioned date for the user
-
getPolicyUpdateEnabled
Provides the flag value which tells if the access policies needs to be applied to the user.- Returns:
- the policy update flag
-
setPolicyUpdateEnabled
Sets the flag value which tells if the access policies needs to be applied to the user.- Parameters:
policyUpdateEnabled
- the policy update flag to be enabled/disabled
-
getStatus
Provides the current status of the user.- Returns:
- the user status
-
setStatus
Sets the current user status. Possible Values: "Active", "Disabled", "Deleted", "Disabled Until Start Date"- Parameters:
status
- user status to be set
-
getAccountStatus
Provides the status of the user account. 1/null =unlocked 0 = locked due to invalid login attempt 1 = Admin lock 2 = locked due to invalid password reset attempt- Returns:
- user value set for Lock attribute
-
setAccountStatus
Sets the status of the user account.- Parameters:
accountStatus
- to set for Lock attribute
-
getUserDisabled
Gets whether the user is disabled. 1 = Disabled, 0 = Not disabled- Returns:
- value of user disabled status
-
setUserDisabled
Sets whether the user is disabled. 1 = Disabled, 0 = Not disabled- Parameters:
userDisabled
- user disabled flag to set
-
getEmail
Provides the email set for the user.- Returns:
- user Email
-
setEmail
Sets the email of the user.- Parameters:
email
- user Email
-
getAutomaticallyDeleteDate
Provides the date on which the user account will get deleted automatically.- Returns:
- account automatic deletion date
-
getAccountLockedDate
Provides the date on which the user account was locked.- Returns:
- user account locked date
-
getUserType
Provides the 'Xellerate Type' of the user. Possible values: "End-User", "End-User Administrator"- Returns:
-
setUserType
Sets the 'Xellerate Type' of the user. Possible values: "End-User", "End-User Administrator"- Parameters:
userType
-
-
getPasswordCantChange
Gets if the user password can be changed. This is a read-only value.- Returns:
-
getPasswordMustChange
Gets if the user password must be changed. This is a read-only value.- Returns:
-
getPasswordNeverExpires
Gets if the user password can expire. This is a read-only value.- Returns:
-
getCreationDate
Gets the date on which the user was created.- Returns:
- user creation date
-
getEmployeeType
Gets the type of employee the user is created as.- Returns:
- the user employee type
-
setEmployeeType
Sets the type of employee the user is to be created as.- Parameters:
employeeType
-
-
getPasswordExpireDate
Gets the date on which the user password will expire.- Returns:
- the user password expiration date
-
getPasswordWarnDate
Gets the date on which the user should be warned about password due for expiration.- Returns:
-
getManagerKey
Gets the entity id of the user's manager.- Returns:
- manager entity id
-
setManagerKey
Sets the entity id of the user to be set as the manager.- Parameters:
managerKey
-
-
setManagerKey
Sets the entity id of the user to be set as the manager.- Parameters:
managerKey
-
-
getPasswordWarned
Gets if the user has been warned about password due for expiration.- Returns:
-
setPasswordWarned
Deprecated.Sets if the user has been warned about password due for expiration.- Parameters:
passwordWarned
-
-
getPasswordExpired
Gets if the user password has expired. This is a read-only value.- Returns:
-
getLoginAttemptsCounter
Gets the number of login attempts made by the user. This is a read-only value.- Returns:
-
getPasswordResetAttemptsCounter
Gets the number of attempts the user has made to reset the password. This is a read-only value.- Returns:
-
getChangePasswordAtNextLogin
Gets whether the user should be asked to change the password at next login. This is a read-only value.- Returns:
-
getPasswordMinimumAge
Deprecated TO get password min age date, get applicable password policy of the user Get min age in days from the policy and add that to password creation date- Returns:
-
getPasswordCreationDate
Gets the password ccreation date for the user.- Returns:
-
getTimezone
Deprecated.Gets the TimeZone set for the user.- Returns:
-
setTimezone
Deprecated.Sets the TimeZone for the user.- Parameters:
timezone
-
-
getLocale
Gets the Locale set for the user.- Returns:
-
setLocale
Sets the Locale for the user.- Parameters:
locale
-
-
getManuallyLocked
Gets if the user account is manually locked. This is a read-only value. 1 = Yes, 0 = No- Returns:
-
getCountry
Gets the user country.- Returns:
-
setCountry
Sets the user country.- Parameters:
country
-
-
setDepartmentNumber
Sets the user departmentNumber.- Parameters:
departmentNumber
-
-
getDepartmentNumber
Gets the user departmentNumber.- Returns:
-
getDescription
Deprecated.Gets the description set for the user.- Returns:
-
setDescription
Deprecated.Sets the description for the user.- Parameters:
description
-
-
getEmployeeNumber
Deprecated.Gets the employee number of the user created within the LDAP system.- Returns:
- user LDAP system employee number
-
setEmployeeNumber
Deprecated.Sets the employee number to be set for the user in the LDAP system.- Parameters:
employeeNumber
-
-
getGenerationQualifier
Gets the generation qualifier of the user created within the LDAP system.- Returns:
- generation qualifier of the user
-
setGenerationQualifier
Sets the generation qualifier of the user in the LDAP system.- Parameters:
genQualifier
- generation qualifier to be set
-
getPasswordGenerated
Gets whether the user password is auto-generated. This is a read-only value.- Returns:
-
setMobile
* Sets the user MobileNumber. * @param MobileNumber -
getMobile
* Gets the user MobileNumber. * @return -
toString
Provides the string representation ofUser
value object.
-