public class ReconManager
extends java.lang.Object
ReconUnitData| Constructor and Description |
|---|
ReconManager(PlatformContext platform,
javax.security.auth.Subject subject)
Constructs the recon manager with a platform context and a subject.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addReconUnitData(ServiceMO service,
ReconUnitData reconUnitData,
IReconCompleteCallback reconCompleteCallback)
Adds and configures a reconciliation unit for a resource.
|
java.util.Collection |
getAvailableReconciliationAttributes(ServiceMO service)
Returns a collection of attribute names of the account profile,
associated with the specified service or resource, that are
available on the resource and can be reconciled from the
resource.
|
java.util.Collection |
getReconUnits(ServiceMO service)
Returns a collection of existing reconciliation units configured
for a resource.
|
boolean |
isFilterSupported(ServiceMO service)
Returns true if underlying service supports filtered reconciliation
that is, the ability to reconcile only a certain set of accounts from
the resource, which match an LDAP compliant filter, specified when
configuring a reconciliation unit for the resource.
|
void |
removeReconUnitData(ServiceMO service,
ReconUnitData reconUnitData)
Removes an existing reconciliation unit configured for a resource with
the same schedule information as that of the input parameter
reconUnitData. |
Request |
runManualServiceRecon(DistinguishedName serviceDN,
boolean supportingDataOnlyRecon,
java.lang.String reconAccountData)
Runs a full reconciliation immediately for accounts on a manual service or a service with connection mode set to manual.
|
Request |
runRecon(ServiceMO service,
ReconUnitData reconUnitData)
Runs a reconciliation immediately using the specified reconciliation
unit for a given resource.
|
Request |
runRecon(ServiceMO service,
ReconUnitData reconUnitData,
IReconCompleteCallback reconCallback)
Runs a reconciliation immediately using the specified reconciliation unit
for a given resource, and a callback object which gains control after
the reconciliation process has finished.
|
void |
setReconUnits(ServiceMO service,
java.util.Collection reconUnitData)
Replaces the existing set of reconciliation units configured for
a resource by a new collection of reconciliation units passed
as a parameter.
|
public ReconManager(PlatformContext platform, javax.security.auth.Subject subject)
platform - PlatformContext holding platform connection information.subject - Subject representing the authenticated caller.public java.util.Collection getReconUnits(ServiceMO service) throws java.rmi.RemoteException, ApplicationException, RemoteServicesException
service - ServiceMO representing the service or the resource.ReconUnitData objects configured for
the given resource.java.rmi.RemoteException - Thrown if there is a communication failure.ApplicationException - Thrown if business rules are violated,
while performing requested operation,
for example when the user does not
have the authority to execute operation.RemoteServicesException - Thrown if unable to find a service
provider for the given service.public void setReconUnits(ServiceMO service, java.util.Collection reconUnitData) throws java.rmi.RemoteException, ApplicationException, RemoteServicesException
service - ServiceMO representing the service or resource.reconUnitData - Collection of ReconUnitData objects to
configure for the resource.java.rmi.RemoteException - Thrown if there is a communication failure.ApplicationException - Thrown if business rules are violated,
while performing requested operation,
for example when the user does not
have the authority to execute operation.RemoteServicesException - Thrown if unable to find a service
provider for the given service.public void addReconUnitData(ServiceMO service, ReconUnitData reconUnitData, IReconCompleteCallback reconCompleteCallback) throws java.rmi.RemoteException, ApplicationException, RemoteServicesException
service - ServiceMO representing the service or resource.reconUnitData - ReconUnitData object to be added for
the resource.reconCompleteCallback - An object of a class implementing
IReconCompleteCallback interface, whose
'onReconComplete' method gets executed after
completion of recon process, if it is a not null.java.rmi.RemoteException - Thrown if there is a communication failure.ApplicationException - Thrown if business rules are violated,
while performing requested operation,
for example when the user does not
have the authority to execute operation.RemoteServicesException - Thrown if unable to find a service
provider for the given service.IReconCompleteCallbackpublic void removeReconUnitData(ServiceMO service, ReconUnitData reconUnitData) throws java.rmi.RemoteException, ApplicationException, RemoteServicesException
reconUnitData.service - ServiceMO representing the service or resource.reconUnitData - ReconUnitData object to be removed.
Reconciliation units with same schedule information
as that of this parameter will be removed.java.rmi.RemoteException - Thrown if there is a communication failure.ApplicationException - Thrown if business rules are violated,
while performing requested operation,
for example when the user does not
have the authority to execute operation.RemoteServicesException - Thrown if unable to find a service
provider for the given service.public Request runRecon(ServiceMO service, ReconUnitData reconUnitData) throws java.rmi.RemoteException, ApplicationException, RemoteServicesException
service - ServiceMO representing the service or resource.reconUnitData - ReconUnitData of resource representing
an existing reconciliation unit, to use for
reconciliation.java.rmi.RemoteException - Thrown if there is a communication failure.ApplicationException - Thrown if business rules are violated,
while performing requested operation,
for example when the user does not
have the authority to execute operation.RemoteServicesException - Thrown if unable to find a service
provider for the given service.public Request runRecon(ServiceMO service, ReconUnitData reconUnitData, IReconCompleteCallback reconCallback) throws java.rmi.RemoteException, ApplicationException, RemoteServicesException
service - ServiceMO representing the service or resource.reconUnitData - ReconUnitData of resource representing
an existing reconciliation unit, to use for
reconciliation.reconCallback - An object of class implementing
IReconCompleteCallback interface whose
'onReconComplete' method gets executed after
completion of recon process.java.rmi.RemoteException - Thrown if there is a communication failure.ApplicationException - Thrown if business rules are violated,
while performing requested operation,
for example when the user does not
have the authority to execute operation.RemoteServicesException - Thrown if unable to find a service
provider for the given service.IReconCompleteCallbackpublic Request runManualServiceRecon(DistinguishedName serviceDN, boolean supportingDataOnlyRecon, java.lang.String reconAccountData) throws java.rmi.RemoteException, ApplicationException, com.ibm.itim.authorization.EnroleAuthorizationException, RemoteServicesException
signedToken - - Specifies a signed object with the DistinguishedName that identifies an authenticated system user.serviceDN - - The distinguished name of the service to perform reconciliation.supportingDataOnlyRecon - - A flag that specifies whether this is a supporting data only reconciliation. When set to true
it specifies that the reconAccountData only contains supporting data and does not contain account
data.reconAccountData - - The accounts to be reconciled on a manual service.java.rmi.RemoteException - - Thrown when a system exception occurs.ApplicationException - - Thrown when application-level error occurs.AuthorizationException - - Thrown if client is unauthorized to perform the operation.RemoteServicesException - - When the method is unable to find a service provider for the service.com.ibm.itim.authorization.EnroleAuthorizationExceptionpublic boolean isFilterSupported(ServiceMO service) throws java.rmi.RemoteException, ApplicationException, com.ibm.itim.apps.exception.AppProcessingException
service - ServiceMO representing the service or resource.java.rmi.RemoteException - Thrown if there is a communication failure.ApplicationException - Thrown if business rules are violated,
while performing requested operation,
for example when the user does not
have the authority to execute operation.com.ibm.itim.apps.exception.AppProcessingException - Thrown if unable to execute operation.public java.util.Collection getAvailableReconciliationAttributes(ServiceMO service) throws java.rmi.RemoteException, ApplicationException, com.ibm.itim.apps.exception.AppProcessingException
service - ServiceMO representing the service or resource.java.rmi.RemoteException - Thrown if there is a communication failure.ApplicationException - Thrown if business rules are violated,
while performing requested operation,
for example when the user does not
have the authority to execute operation.com.ibm.itim.apps.exception.AppProcessingException - Thrown if unable to execute operation.