|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.dataservices.model.pim.CredentialSetting
public class CredentialSetting
This class holds the credential settings for a credential object in the data model.
Crdential
,
Serialized FormConstructor Summary | |
---|---|
CredentialSetting(Credential.AccessMode accessMode)
This Constructor is intended for the non-shared credential. |
|
CredentialSetting(Credential.AccessMode accessMode,
java.lang.Boolean passwordViewable)
This Constructor is intended for non-exclusive credential. |
|
CredentialSetting(Credential.AccessMode accessMode,
java.lang.Boolean resetPassword,
int checkoutDuration,
java.lang.Boolean searchEnabled,
java.lang.Boolean passwordViewable)
This Constructor is intended for the exclusive credential. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
This API compares this CredentialSetting object with the passing object. |
Credential.AccessMode |
getAccessMode()
This API returns the credential access mode, which can be AccessMode.NOT_SET, AccessMode.EXCLUSIVE, AccessMode.NONEXCLUSIVE, or AccessMode.NONSHARED. |
int |
getCheckoutDuration()
This API returns the maximum checkout time. |
java.lang.Boolean |
isCheckoutSearchEnable()
This API returns a boolean value represent if the credential is defined to be searchable during checkout. |
boolean |
isExclusive()
This API returns true if the access mode is AccessModel.EXCLSUIVE and returns false otherwise. |
boolean |
isHidePasswordEnable()
This API returns true if checkout is required for the credential. |
java.lang.Boolean |
isPasswordViewable()
This API returns true if the password can be displayed to user after the checkout and return false otherwise. |
java.lang.Boolean |
isResetPasswordAtCheckin()
This API returns a boolean value representing if the password will be reset upon checkin. |
void |
setAccessMode(Credential.AccessMode accessMode)
This API sets the credential access mode, which can be AccessMode.NOT_SET, AccessMode.EXCLUSIVE, AccessMode.NONEXCLUSIVE, or AccessMode.NONSHARED. |
void |
setCheckoutDuration(int checkoutDuration)
This API sets the maximum checkout time. |
void |
setIsCheckoutSearchEnable(java.lang.Boolean isSearchEnabled)
This API sets a boolean value represent if the credential is defined to be searchable during checkout. |
void |
setIsPasswordViewable(java.lang.Boolean isPasswordViewable)
This API set if the password can be displayed to user after the checkout and return false otherwise. |
void |
setIsResetPasswordAtCheckin(java.lang.Boolean isResetPasswordAtCheckin)
This API sets a boolean value representing if the password will be reset upon checkin. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CredentialSetting(Credential.AccessMode accessMode, java.lang.Boolean resetPassword, int checkoutDuration, java.lang.Boolean searchEnabled, java.lang.Boolean passwordViewable)
accessMode
- Credential.AccessMode This parameter specifies the enum
constant. Refer to Credential.CRED_ATTR_IS_EXCLUSIVE.resetPassword
- boolean This parameter specifies the boolean value that
decides whether the password needs to be reset during checkin.checkoutDuration
- int This parameter specifies the maximum checkout time in
hours.searchEnabled
- boolean This parameter specifies the boolean value that
decides whether the credential is searchable during the
checkout process.passwordViewable
- boolean This parameter specifies the boolean value that
decides whether the password can be displayed to user after
the checkout.public CredentialSetting(Credential.AccessMode accessMode, java.lang.Boolean passwordViewable)
accessMode
- Credential.AccessMode This parameter specifies the enum
constant. Refer to Credential.CRED_ATTR_IS_EXCLUSIVE.passwordViewable
- boolean This parameter specifies the boolean value that
decides whether the password can be displayed to user after
the checkout.public CredentialSetting(Credential.AccessMode accessMode)
accessMode
- Credential.AccessMode This parameter specifies the enum
constant.Method Detail |
---|
public java.lang.Boolean isCheckoutSearchEnable()
public void setIsCheckoutSearchEnable(java.lang.Boolean isSearchEnabled)
true
- if the credential is searchable during checkout,
false otherwise.public java.lang.Boolean isResetPasswordAtCheckin()
public void setIsResetPasswordAtCheckin(java.lang.Boolean isResetPasswordAtCheckin)
true
- if the password will be after the checkin
false otherwise.public int getCheckoutDuration()
public void setCheckoutDuration(int checkoutDuration)
int
- value represents the maximum checkout time allowed in hours.public java.lang.Boolean isPasswordViewable()
public void setIsPasswordViewable(java.lang.Boolean isPasswordViewable)
public Credential.AccessMode getAccessMode()
public void setAccessMode(Credential.AccessMode accessMode)
public boolean isExclusive()
public boolean isHidePasswordEnable()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |