public class Credential extends DirectoryObject implements CredentialComponent
CredentialSetting,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
Credential.AccessMode
Enumeration constants of credential access mode
|
static class |
Credential.Status
Enumeration constants of credential status
|
| Modifier and Type | Field and Description |
|---|---|
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
|
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE, ATTR_URI, DESCRIPTION, NAMECRED_ATTR_DESCRIPTION, CRED_ATTR_NAME, CRED_ATTR_PARENT, CRED_ATTR_PROFILE_NAME, CRED_USE_GLOBAL_SETTINGS| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
addAttribute, addAttributeValues, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getName, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getSortValue, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toStringclearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedNamegetDistinguishedName, getNamepublic 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
public Credential()
public Credential(AttributeValues attrs)
attrs - AttributeValues This parameter holds the attribute values of
the credential.public Credential(DirectoryObject dirObj)
public void setName(java.lang.String name)
setName in interface CredentialComponentname - 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.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean isPool()
isPool in interface CredentialComponentpublic static java.util.Collection<java.lang.String> getCredentialSettingAttributes()
IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.