public class CredentialLease extends DirectoryObject
| Modifier and Type | Class and Description |
|---|---|
static class |
CredentialLease.STATUS
Enumeration of status
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LEASE_ATTR_CREATE_TIME
This is a constant for the lease creation time attribute for expired lease
|
static java.lang.String |
LEASE_ATTR_CREDENTIAL
This is a constant for the credential attribute.
|
static java.lang.String |
LEASE_ATTR_CUSTOM_ATTRIBUTE_1
This is a constant for the custom attribute 1
|
static java.lang.String |
LEASE_ATTR_CUSTOM_ATTRIBUTE_2
This is a constant for the custom attribute 2
|
static java.lang.String |
LEASE_ATTR_CUSTOM_ATTRIBUTE_3
This is a constant for the custom attribute 3
|
static java.lang.String |
LEASE_ATTR_CUSTOM_ATTRIBUTE_4
This is a constant for the custom attribute 4
|
static java.lang.String |
LEASE_ATTR_CUSTOM_ATTRIBUTE_5
This is a constant for the custom attribute 5
|
static java.lang.String |
LEASE_ATTR_EXPIRATION_TIME
This is a constant for the lease expiration time attribute name.
|
static java.lang.String |
LEASE_ATTR_JUSTIFICATION
This is a constant for the business justification attribute
|
static java.lang.String |
LEASE_ATTR_LAST_NOTIFICATION
This is a constant for the last notification time attribute for expired lease
|
static java.lang.String |
LEASE_ATTR_LESSEE
This is a constant for the lessee attribute
|
static java.lang.String |
LEASE_ATTR_LESSEE_NAME
This is a constant for the lessee name attribute
|
static java.lang.String |
LEASE_ATTR_POOL_DN
This is a constant for the pool DN
|
static java.lang.String |
LEASE_ATTR_STATUS
This is a constant for the lease status
|
static java.lang.String |
PROFILE_NAME
This is a constant for the lease profile name
|
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE, ATTR_URI, DESCRIPTION, NAME| Constructor and Description |
|---|
CredentialLease()
This is the default constructor
|
CredentialLease(AttributeValues attrs)
This constructor creates the object with the attribute information.
|
CredentialLease(DirectoryObject dirObj)
This is a copy constructor for directory object
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getCreateTime()
This API returns the creation time of the lease.
|
DistinguishedName |
getCredentialDN()
This API returns the credential Distinguished Name.
|
java.util.Date |
getExpirationTime()
This API returns the expiration time of the lease.
|
java.lang.String |
getJustification()
This API returns business justification for the lease.
|
java.util.Date |
getLastNotification()
This API returns the time when the expiration was last notified.
|
DistinguishedName |
getLesseeDN()
Returns the lessee Distinguished Name.
|
java.lang.String |
getName()
The lease does not have a name.
|
boolean |
isActive()
This API returns the status of the lease.
|
void |
setCreateTime(java.util.Date time)
This API sets the lease creation time.
|
void |
setExpirationTime(java.util.Date time)
This API sets the lease expiration time.
|
void |
setJustification(java.lang.String justification)
This API sets the business justification for the lease.
|
void |
setLastNotification(java.util.Date time)
This API sets the the time when the expiration was last notified.
|
addAttribute, addAttributeValues, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getSortValue, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toStringclearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedNamepublic static java.lang.String PROFILE_NAME
public static java.lang.String LEASE_ATTR_CREDENTIAL
public static java.lang.String LEASE_ATTR_EXPIRATION_TIME
public static java.lang.String LEASE_ATTR_LESSEE
public static java.lang.String LEASE_ATTR_LESSEE_NAME
public static java.lang.String LEASE_ATTR_JUSTIFICATION
public static java.lang.String LEASE_ATTR_CUSTOM_ATTRIBUTE_1
public static java.lang.String LEASE_ATTR_CUSTOM_ATTRIBUTE_2
public static java.lang.String LEASE_ATTR_CUSTOM_ATTRIBUTE_3
public static java.lang.String LEASE_ATTR_CUSTOM_ATTRIBUTE_4
public static java.lang.String LEASE_ATTR_CUSTOM_ATTRIBUTE_5
public static java.lang.String LEASE_ATTR_POOL_DN
public static java.lang.String LEASE_ATTR_STATUS
public static java.lang.String LEASE_ATTR_LAST_NOTIFICATION
public static java.lang.String LEASE_ATTR_CREATE_TIME
public CredentialLease()
public CredentialLease(AttributeValues attrs)
attrs - AttributeValues that hold the attributes of the role.public CredentialLease(DirectoryObject dirObj)
public java.lang.String getName()
getName in class DirectoryObjectpublic java.lang.String getJustification()
public void setJustification(java.lang.String justification)
justification - String value.public java.util.Date getExpirationTime()
public void setExpirationTime(java.util.Date time)
time - Date the expiration time.public DistinguishedName getCredentialDN()
public DistinguishedName getLesseeDN()
public boolean isActive()
public java.util.Date getLastNotification()
public void setLastNotification(java.util.Date time)
time - a Date object represeting the last notification was sent.public java.util.Date getCreateTime()
public void setCreateTime(java.util.Date time)
time - Date the creation time.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.