public class CredentialPool extends DirectoryObject implements CredentialComponent
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CRED_POOL_ATTR_GROUPS
This is a constant for the service group attribute
|
static java.lang.String |
CRED_POOL_ATTR_OWNER
This is a constant for the owner attribute
|
static java.lang.String |
CRED_POOL_ATTR_PARENT_CONTAINER
This is a constant for the organizational container
|
static java.lang.String |
CRED_POOL_ATTR_SERVICE
This is a constant for the service attribute
|
static java.lang.String |
PROFILE_NAME
This is a constant for the credential pool profile name
|
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 |
|---|
CredentialPool()
The default constructor.
|
CredentialPool(AttributeValues attrs)
Constructs object with attribute information.
|
CredentialPool(DirectoryObject dirObj)
Copy constructor for directory object
|
CredentialPool(java.lang.String name,
Service service,
OrganizationalContainer orgContainer,
java.util.List<Group> groups,
java.util.List<DistinguishedName> owners)
Constructs object with attribute information.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addGroups(java.util.Collection<DistinguishedName> groups)
Adds groups to the credential pool definition.
|
boolean |
equals(java.lang.Object obj)
This API compares this credential pool with the passing object.
|
DistinguishedName |
getBusinessUnitDN()
This API returns the distinguished name of organizational container of the credential pool.
|
java.lang.String |
getDescription()
This API sets the lease expiration time.
|
java.util.Collection<DistinguishedName> |
getGroupDNs()
Returns the collection of DistinguishedName that are defined as the groups(s) for this credential pool
|
java.util.Collection<DistinguishedName> |
getOwnerDNs()
Returns the collection of DistinguishedName that are defined as the owner(s) for this credential pool
|
DistinguishedName |
getServiceDN()
This API returns the credential pool's service DN.
|
int |
hashCode()
Returns a hash value that can be used in hash tables.
|
boolean |
isPool()
This API always returns true.
|
void |
removeGroups(java.util.Collection<DistinguishedName> groups)
Removes group(s) from the credential pool definition.
|
void |
removeOwnerDNs()
Removes the owner(s) of the credential pool by removing the owner attribute.
|
void |
setDescription(java.lang.String description)
This API changes the description of the credential pool.
|
void |
setGroups(java.util.Collection<DistinguishedName> groups)
Sets the value of the owner attribute.
|
void |
setName(java.lang.String name)
This API sets the credential pool name.
|
void |
setOwnerDNs(java.util.Collection<DistinguishedName> owners)
Sets the value of the owner 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_POOL_ATTR_GROUPS
public static java.lang.String CRED_POOL_ATTR_OWNER
public static java.lang.String CRED_POOL_ATTR_PARENT_CONTAINER
public static java.lang.String CRED_POOL_ATTR_SERVICE
public CredentialPool(AttributeValues attrs)
attrs - AttributeValues holding the attributes of the credential pool.public CredentialPool()
public CredentialPool(DirectoryObject dirObj)
public CredentialPool(java.lang.String name,
Service service,
OrganizationalContainer orgContainer,
java.util.List<Group> groups,
java.util.List<DistinguishedName> owners)
name - String "name" attribute value for the credential poolservice - Service the service instance that the credential pool refers toorgContainer - OrganizationContainer where the credential pool residesgroups - Listowners - Listpublic void setName(java.lang.String name)
setName in interface CredentialComponentname - the user friendly name of the credential pool.public java.lang.String getDescription()
time - Date the expiration time.public void setDescription(java.lang.String description)
description - string value of the description.public DistinguishedName getBusinessUnitDN()
public DistinguishedName getServiceDN()
public java.util.Collection<DistinguishedName> getOwnerDNs()
public void setOwnerDNs(java.util.Collection<DistinguishedName> owners)
owners - The collection of DistinguishedName to set as the owners for this credential pool.
If NULL is specified, all owners for the credential pool will be removed.public void removeOwnerDNs()
public java.util.Collection<DistinguishedName> getGroupDNs()
public void setGroups(java.util.Collection<DistinguishedName> groups)
groups - The collection of DistinguishedNames to set as the groups for this credential pool.
If NULL is specified, all groups for the credential pool will be removed.public void removeGroups(java.util.Collection<DistinguishedName> groups)
groups - specifies the DNS of the groups to be removed.public void addGroups(java.util.Collection<DistinguishedName> groups)
groups - specifies the DNS of the groups to be added.public boolean isPool()
isPool in interface CredentialComponentpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectIBM 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.