|
|||||||||||
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.CredentialPool
public class CredentialPool
This value Object class holds the attribute information of a credential pool in the data model.
Field Summary | |
---|---|
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 |
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 | |
---|---|
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. |
Method Summary | |
---|---|
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. |
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_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
Constructor Detail |
---|
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
- ListMethod Detail |
---|
public void setName(java.lang.String name)
setName
in interface CredentialComponent
name
- 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 CredentialComponent
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |