|
|||||||||||
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.pim.Credential
public class Credential
This is a value Object class that holds the attribute information of a credential in the data model.
CredentialSetting
,
Serialized FormNested Class Summary | |
---|---|
static class |
Credential.AccessMode
Enumeration constants of credential access mode |
static class |
Credential.Status
Enumeration constants of credential status |
Field Summary | |
---|---|
static java.lang.String |
CRED_ATTR_ACCOUNT
This is a constant for the account DN attribute name. |
static java.lang.String |
CRED_ATTR_CREDENTIAL_NAME
|
static java.lang.String |
CRED_ATTR_IS_EXCLUSIVE
This is a constant for the attribute name of credential access mode. |
static java.lang.String |
CRED_ATTR_MAX_CHECKOUT_TIME
This is a constant for the attribute name of credential maximum checkout time |
static java.lang.String |
CRED_ATTR_PASSWORD_RESET
This is a constant for password reset attribute name |
static java.lang.String |
CRED_ATTR_PASSWORD_VIEWABLE
String constant for password viewable attribute name |
static java.lang.String |
CRED_ATTR_SEARCHOPTION
This is a constant for the credential searcahability attribute name. |
static java.lang.String |
CRED_ATTR_SERVICE_ALIAS
|
static java.lang.String |
CRED_ATTR_SERVICE_INFO
|
static java.lang.String |
CRED_ATTR_SERVICE_NAME
|
static java.lang.String |
CRED_ATTR_SERVICE_TAG
|
static java.lang.String |
CRED_ATTR_SERVICE_TYPE
|
static java.lang.String |
CRED_ATTR_SERVICE_URI
|
static java.lang.String |
PROFILE_NAME
This is the profile name for credential |
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.dataservices.model.pim.CredentialComponent |
---|
CRED_ATTR_DESCRIPTION, CRED_ATTR_NAME, CRED_ATTR_PARENT, CRED_ATTR_PROFILE_NAME, CRED_USE_GLOBAL_SETTINGS |
Fields inherited from interface com.ibm.itim.util.Sortable |
---|
ATTR_NAME |
Constructor Summary | |
---|---|
Credential()
This is a default constructor. |
|
Credential(AttributeValues attrs)
This constructor creates an object with attribute information. |
|
Credential(DirectoryObject dirObj)
This is a copy constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
This API compares this credential with the passing object. |
DistinguishedName |
getAccountDN()
This API returns the distinguished name of the associated account. |
CredentialSetting |
getCredentialSetting()
This API returns the settings of the credential such as maximum checkout duration and so on. |
static java.util.Collection<java.lang.String> |
getCredentialSettingAttributes()
|
java.lang.String |
getDescription()
This API returns the credential description. |
boolean |
getUseGlobalSettings()
This API returns the value for use global settings attribute. |
int |
hashCode()
Returns a hash value that can be used in hash tables. |
boolean |
isPool()
This API always returns false. |
void |
setCredentialSetting(CredentialSetting settings)
This API changes the credential's settings. |
void |
setDescription(java.lang.String description)
This API changes the description of the credential. |
void |
setName(java.lang.String name)
This API changes the credential name |
void |
setUseGlobalSettings(boolean useGlobalSettings)
This API sets/changes the value of use global settings attribute |
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 |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.itim.dataservices.model.pim.CredentialComponent |
---|
getDistinguishedName, getName |
Field Detail |
---|
public static java.lang.String PROFILE_NAME
public static java.lang.String CRED_ATTR_SEARCHOPTION
public static java.lang.String CRED_ATTR_ACCOUNT
public static java.lang.String CRED_ATTR_PASSWORD_RESET
public static java.lang.String CRED_ATTR_MAX_CHECKOUT_TIME
public static java.lang.String CRED_ATTR_PASSWORD_VIEWABLE
public static java.lang.String CRED_ATTR_IS_EXCLUSIVE
public static java.lang.String CRED_ATTR_CREDENTIAL_NAME
public static java.lang.String CRED_ATTR_SERVICE_URI
public static java.lang.String CRED_ATTR_SERVICE_NAME
public static java.lang.String CRED_ATTR_SERVICE_ALIAS
public static java.lang.String CRED_ATTR_SERVICE_INFO
public static java.lang.String CRED_ATTR_SERVICE_TYPE
public static java.lang.String CRED_ATTR_SERVICE_TAG
Constructor Detail |
---|
public Credential()
public Credential(AttributeValues attrs)
attrs
- AttributeValues This parameter holds the attribute values of
the credential.public Credential(DirectoryObject dirObj)
Method Detail |
---|
public void setName(java.lang.String name)
setName
in interface CredentialComponent
name
- String This parameter specifies the credential namepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- String This parameter specifies the description of the
credential.public boolean getUseGlobalSettings()
public void setUseGlobalSettings(boolean useGlobalSettings)
useGlobalSettings
- public DistinguishedName getAccountDN()
public CredentialSetting getCredentialSetting()
public void setCredentialSetting(CredentialSetting settings)
settings
- CredentialSetting This parameter specifies the credential's
new settings.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isPool()
isPool
in interface CredentialComponent
public static java.util.Collection<java.lang.String> getCredentialSettingAttributes()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |