| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.itim.apps.pim.CredentialPoolManager
public class CredentialPoolManager
This class provides credential pool administration capabilities. These capabilities include the creation of credential pools.
CredentialPoolMO| Constructor Summary | |
|---|---|
CredentialPoolManager(PlatformContext platform,
                      javax.security.auth.Subject subject)
Constructs the manager with a platform context and a subject.  | 
|
| Method Summary | |
|---|---|
 CredentialPoolMO | 
createPool(OrganizationalContainerMO orgContainer,
           ServiceMO service,
           CredentialPool credentialPool)
Creates a credential pool for the given service in an organizational container.  | 
 CredentialPoolMO | 
createPool(ServiceMO service,
           CredentialPool credentialPool)
Creates a credential pool for the given service.  | 
 java.util.Collection<CredentialComponent> | 
getCredentialPools(OrganizationalContainerMO parent,
                   java.lang.String serviceProfileName,
                   java.lang.String serviceNamePattern,
                   java.lang.String poolNamePattern,
                   SearchResultsStatus resultStatus)
This API returns the credential pools that matches the given name and service name search pattern within the given container.  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public CredentialPoolManager(PlatformContext platform,
                             javax.security.auth.Subject subject)
platform - PlatformContext that holds the platform connection information.subject - Subject that represents the authenticated caller.
java.lang.IllegalArgumentException - Thrown if the platform or the subject parameter is null.| Method Detail | 
|---|
public CredentialPoolMO createPool(OrganizationalContainerMO orgContainer,
                                   ServiceMO service,
                                   CredentialPool credentialPool)
                            throws java.rmi.RemoteException,
                                   AuthorizationException,
                                   SchemaViolationException,
                                   ApplicationException
orgContainer - OrganizationalContainerMO the organizational container where the credential pool will be created.service - ServiceMO the service that the credential pool is associated with.credentialPool - CredentialPool value object defining the attributes the credential pool will
            have.
java.rmi.RemoteException - Thrown if unable to communicate with platform.
AuthorizationException - Thrown if client is not authorized to create a credential pool under the
                specified organizational container.
SchemaViolationException - Thrown if any of the attributes in the value object
                violates the managed object's schema. This may be caused
                by an invalid attribute or if a required attribute is
                missing entirely.
ApplicationException - Thrown if unable to submit the request. This might be caused by 
                the container being removed by another client
                previous to this call.
java.lang.IllegalArgumentException - Thrown if container, service or subject parameters are null.
public CredentialPoolMO createPool(ServiceMO service,
                                   CredentialPool credentialPool)
                            throws java.rmi.RemoteException,
                                   AuthorizationException,
                                   SchemaViolationException,
                                   ApplicationException
service - ServiceMO the service that the credential pool is associated with.credentialPool - CredentialPool value object defining the attributes the credential pool will
            have.
java.rmi.RemoteException - Thrown if unable to communicate with platform.
AuthorizationException - Thrown if client is not authorized to create a credential pool for the
                specified service.
SchemaViolationException - Thrown if any of the attributes in the value object
                violates the managed object's schema. This may be caused
                by an invalid attribute or if a required attribute is
                missing entirely.
ApplicationException - Thrown if unable to submit the request. This might be caused by 
                the service being removed by another client
                previous to this call.
java.lang.IllegalArgumentException - Thrown if service or subject parameters are null.
public java.util.Collection<CredentialComponent> getCredentialPools(OrganizationalContainerMO parent,
                                                                    java.lang.String serviceProfileName,
                                                                    java.lang.String serviceNamePattern,
                                                                    java.lang.String poolNamePattern,
                                                                    SearchResultsStatus resultStatus)
                                                             throws java.rmi.RemoteException,
                                                                    ApplicationException
parent - OrganizationalContainerMO specifies the parent container that is the
               scope of the search for services and accounts. In a single-tenant deployment, null
               can be specified to search the entire tree.  
               In a multi-tenant deployment, an
               OrganizationalContainerMO object must be provided that
               represents the root of the tenant.serviceProfileName - specifies the name of service type.  Use an empty string to specify a search 
                                for all service types.serviceNamePattern - specifies the name pattern of the service to match.  Use an asterisk (*) 
               to specify a wildcard search.  Use an asterisk (*) ss the first and last character 
               of a string value for a "contains" search.  Use an empty string to specify a search for all
               services.poolNamePattern - specifies the name pattern of the credential pool to match. Use an asterisk (*) 
               to specify a wildcard search.  Use an asterisk (*) as the first and last character 
               of a string value for a "contains" search.  Use an empty string to specify a search for all
               credential pools.resultStatus - SearchResultsStatus indicating if the search has exceeded size limit.
java.rmi.RemoteException - This exception is thrown if the API cannot communicate with the platform.
ApplicationException - This exception is thrown if the API cannot obtain the credentials.  
                     This error may be caused if the parent container is
                     removed by another client before this call.
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||