|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.dataservices.model.DirectoryEntry
com.ibm.itim.dataservices.model.DirectoryObject
com.ibm.itim.dataservices.model.domain.OrganizationalContainer
com.ibm.itim.dataservices.model.domain.DirectorySystem
public class DirectorySystem
Value Object class that holds the the system (tenant) wide configuration settings.
DirectorySystemEntity
,
Serialized FormNested Class Summary | |
---|---|
static class |
DirectorySystem.DefaultProvisioningPolicySetting
|
Field Summary | |
---|---|
static int |
ADMIN_DEFINED
|
static int |
PRE_DEFINED
|
static int |
RANDOM_SELECTED
|
static int |
USER_DEFINED
|
static int |
USER_SELECTED
|
Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObject |
---|
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE, ATTR_URI, DESCRIPTION, NAME |
Fields inherited from interface com.ibm.itim.util.Sortable |
---|
ATTR_NAME |
Constructor Summary | |
---|---|
DirectorySystem()
Default empty constructor |
|
DirectorySystem(DistinguishedName dn,
java.lang.String name,
AttributeValues attrs)
Constructor for create a directory system. |
Method Summary | |
---|---|
java.util.Collection |
getAlertOptions()
This method returns a collection containing the alert options. |
java.lang.String |
getBucketCount()
Returns the number of hash buckets are used within the directory tree. |
int |
getChallengeDefinitionMode()
Returns the password challenge/response definition mode. |
java.lang.String |
getChallengeMode()
Returns the password challenge/response mode. |
java.lang.String |
getChallengeResponseEmail()
Returns the password challenge/response failure email message recipient address. |
DirectorySystem.DefaultProvisioningPolicySetting |
getDefaultProvisioningPolicySetting()
Returns the default provisioing policy setting |
int |
getLogonCount()
Returns the maximum number of consecutive unsuccessful logon attempts a user can have before their account is suspended. |
int |
getMaxRepeatChar()
|
int |
getMinResponseLength()
|
int |
getNonComplianceAction()
Returns the non-compliance action set globally for all services. |
int |
getNumberOfRandomChallenges()
Returns the number of questions to randomly select for password challenge/response. |
int |
getNumberOfRequiredChallenges()
Returns the number of required password challenge/response questions. |
int |
getPasswordRetrievalExpirationPeriod()
Returns the password retrieval period of the system. |
int |
getPODeliveryInterval()
Returns the time interval (in seconds) the post office delivers messages. |
int |
getPwdExpirationPeriod()
Returns the password expiration period of the system. |
java.util.Date |
getResponseLastChange()
Returns the date/time the challenge/response configuration parameters were last modified. |
java.lang.String |
getSuspendMessage()
Returns the password challenge/response message when user is suspended. |
boolean |
isActive()
Returns whether the tenant (in a multi-tenant deployment) is currently active or not. |
boolean |
isAnswerMatchQuestion()
|
boolean |
isAutoGroupMembership()
Returns whether "auto TIM Group membership" is enabled. |
boolean |
isChallengeResponseEnabled()
Returns whether password challenge/response is enabled. |
boolean |
isLostPwdByMail()
Deprecated. Replaced by isPasswordResetRequired(). |
boolean |
isMailChangePwdLink()
Returns whether mail will be send with a link to change the password. |
boolean |
isPasswordResetRequired()
Returns whether a password reset is required if a user authenticates using challenge/response. |
boolean |
isPwdEditAllowed()
Returns whether passwords can be entered on behalf of other users, or if passwords can only be generated for them. |
boolean |
isPwdOnUser()
Returns whether "set password on user" is enabled. |
boolean |
isPwdSyncAllowed()
Returns whether passwords can be synchronized on a person's all accounts. |
boolean |
isResponseHashedEnabled()
Indicates whether to one-way hash the response of a challenge/response. |
boolean |
isResponseUnique()
|
boolean |
isShowGenPwd()
Returns whether passwords generated by others are shown in the UI. |
boolean |
isUserIDDisallowed()
|
void |
setAlertOptions(java.util.Collection alertOptions)
This method sets the alert options given a collection of the same. |
void |
setAnswerMatchQuestion(boolean value)
|
void |
setAutoGroupMembership(boolean enableAutoGroupMembership)
Changes the setting for whether "auto TIM Group membership" is enabled. |
void |
setChallengeDefinitionMode(int defMode)
Changes the mode of password challenge and response definition. |
void |
setChallengeMode(java.lang.String mode)
Changes password challenge/response mode. |
void |
setChallengeResponseEmail(java.lang.String email)
Changes the password challenge/response failure email message recipient address. |
void |
setChallengeResponseEnabled(boolean enable)
Disables or Enables password challenge/response. |
void |
setDefaultProvisioningPolicySetting(DirectorySystem.DefaultProvisioningPolicySetting setting)
Sets the default provisioning policy setting |
void |
setLogonCount(int count)
Changes the maximum number of consecutive unsuccessful logon attempts a user can have before their account is suspended. |
void |
setLostPwdByMail(boolean lostPwdByMail)
Deprecated. Replaced by setPasswordResetRequired(). |
void |
setMailChangePwdLink(boolean mailChangePwdLink)
Changes the challenge response setting to send a mail which contains a link to change the password. |
void |
setMaxNumberOfIncorrectAttempt(int value)
|
void |
setMaxRepeatChar(int value)
|
void |
setMinResponseLength(int value)
|
void |
setNonComplianceAction(int action)
Changes the non-compliance action set globally for all services. |
void |
setNumberOfRandomChallenges(int num)
Changes number of questions to randomly select for password challenge/response. |
void |
setNumberOfRequiredChallenges(int num)
Changes number of required questions for password challenge/response. |
void |
setPasswordResetRequired(boolean isRequired)
Changes whether a password reset is required if a user authenticates using challenge/response. |
void |
setPasswordRetrievalExpirationPeriod(int pwdRetrievalExpirationPeriod)
Changes the the password retrieval period. |
void |
setPODeliveryInterval(int interval)
Changes the time interval (in seconds) the post office delivers messages. |
void |
setPwdEditAllowed(boolean pwdEditAllowed)
Changes the setting for whether passwords can be entered on behalf of other users, or if passwords can only be generated for them. |
void |
setPwdExpirationPeriod(int expPeriod)
Changes the the password expiration period. |
void |
setPwdOnUser(boolean enablePwd)
Changes the setting for whether "set password on user" is enabled. |
void |
setPwdSyncAllowed(boolean pwdSyncAllowed)
Changes the setting for whether passwords can be synchronized on a person's all the accounts. |
void |
setResponseHashedEnabled(boolean enable)
Changes whether or not to one-way hash the response of a challenge/response. |
void |
setResponseUnique(boolean value)
|
void |
setShowGenPwd(boolean showGenPwd)
Changes the setting for whether the express UI will show generated passwords created by others. |
void |
setSuspendMessage(java.lang.String description)
Changes password challenge/response message when user is suspended. |
void |
setUserIDDisallowed(boolean value)
|
void |
updateResponseLastChange()
Changes the date/time the challenge/response configuration parameters were last modified. |
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObject |
---|
addAttribute, addAttributeValues, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getName, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getSortValue, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toString |
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 int PRE_DEFINED
public static final int USER_SELECTED
public static final int RANDOM_SELECTED
public static final int ADMIN_DEFINED
public static final int USER_DEFINED
Constructor Detail |
---|
public DirectorySystem()
public DirectorySystem(DistinguishedName dn, java.lang.String name, AttributeValues attrs)
dn
- Distinguished Name for directory system.name
- "name" attribute value for directory system.attrs
- AttributeValues where keys are attribute names (String) and
values are AttributeValue instances.Method Detail |
---|
public void setLostPwdByMail(boolean lostPwdByMail)
lostPwdByMail
- True to email passwords, false to not email.public void setMailChangePwdLink(boolean mailChangePwdLink)
mailChangePwdLink
- True to send mail, false if not.public void setPwdEditAllowed(boolean pwdEditAllowed)
pwdEditAllowed
- True if passwords can be entered, false if
generated only.public void setPwdSyncAllowed(boolean pwdSyncAllowed)
pwdSyncAllowed
- True if passwords can be entered, false if
generated only.public int getLogonCount()
public void setLogonCount(int count)
count
- Maximum number of attempts.public java.lang.String getBucketCount()
public boolean isLostPwdByMail()
public boolean isMailChangePwdLink()
public boolean isPwdEditAllowed()
public boolean isPwdSyncAllowed()
public boolean isActive()
public int getPasswordRetrievalExpirationPeriod()
public void setPasswordRetrievalExpirationPeriod(int pwdRetrievalExpirationPeriod)
pwdRetrievalExpirationPeriod
- Int number of hours for password
retrieval expiration period.
The default is 24 hours.public int getPwdExpirationPeriod()
public void setPwdExpirationPeriod(int expPeriod)
expPeriod
- Int number of hours before passwords expire. 0
indicates passwords never expire and is the default.public boolean isChallengeResponseEnabled()
public void setChallengeResponseEnabled(boolean enable)
enable
- True to enable, false to disable.public java.lang.String getSuspendMessage()
public void setSuspendMessage(java.lang.String description)
description
- New message for password challenge/response suspension.public java.lang.String getChallengeResponseEmail()
public void setChallengeResponseEmail(java.lang.String email)
email
- New email address for password challenge/response failure
message.public java.lang.String getChallengeMode()
public int getChallengeDefinitionMode()
public void setChallengeMode(java.lang.String mode)
mode
- New mode for password challenge/response; PRE_DEFINED,
USER_SELECTED, or RANDOM_SELECTED.public void setChallengeDefinitionMode(int defMode)
defMode
- New mode for password challenge and response definition;
ADMIN_DEFINED or USER_DEFINED.public int getNumberOfRequiredChallenges()
public void setNumberOfRequiredChallenges(int num)
num
- New number of required questions for password challenge/response.public int getNumberOfRandomChallenges()
public int getMinResponseLength()
public int getMaxRepeatChar()
public boolean isUserIDDisallowed()
public boolean isResponseUnique()
public boolean isAnswerMatchQuestion()
public void setMaxNumberOfIncorrectAttempt(int value)
public void setMinResponseLength(int value)
public void setMaxRepeatChar(int value)
public void setUserIDDisallowed(boolean value)
public void setResponseUnique(boolean value)
public void setAnswerMatchQuestion(boolean value)
public void setNumberOfRandomChallenges(int num)
num
- New number of questions to randomly select for password
challenge/response.public boolean isResponseHashedEnabled()
public void setResponseHashedEnabled(boolean enable)
enable
- True to enable response hashing, false to disable.public java.util.Date getResponseLastChange()
public void updateResponseLastChange()
public int getPODeliveryInterval()
public void setPODeliveryInterval(int interval)
interval
- Message delivery time interval (in seconds).public boolean isPasswordResetRequired()
public void setPasswordResetRequired(boolean isRequired)
isRequired
- True if password reset is required, false if not.public java.util.Collection getAlertOptions()
public void setAlertOptions(java.util.Collection alertOptions)
alertOptions
- public int getNonComplianceAction()
public void setNonComplianceAction(int action)
action
- Enumerated int of the action, Service.MARK_NONCOMPLIANT,
Service.SUSPEND_NONCOMPLIANT, Service.CORRECT_NONCOMPLIANT,
Service.USE_WORKFLOW_FOR_NONCOMPLIANT.public void setShowGenPwd(boolean showGenPwd)
showGenPwd
- True if passwords can be entered, false if generated only.public boolean isPwdOnUser()
public void setPwdOnUser(boolean enablePwd)
enablePwd
- True if "set password on user" is enabled, false otherwise.public boolean isAutoGroupMembership()
public void setAutoGroupMembership(boolean enableAutoGroupMembership)
enableAutoGroupMembership
- True if "auto TIM Group membership" is enabled, false otherwise.public boolean isShowGenPwd()
public void setDefaultProvisioningPolicySetting(DirectorySystem.DefaultProvisioningPolicySetting setting)
setting
- public DirectorySystem.DefaultProvisioningPolicySetting getDefaultProvisioningPolicySetting()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |