Package org.openiam.srvc.idm
Class AsynchIdentitySynchServiceImpl
- java.lang.Object
-
- org.openiam.srvc.AbstractApiService
-
- org.openiam.srvc.idm.AsynchIdentitySynchServiceImpl
-
- All Implemented Interfaces:
AsynchIdentitySynchService
@Component("asynchSynchServiceWS") public class AsynchIdentitySynchServiceImpl extends AbstractApiService implements AsynchIdentitySynchService
- Author:
- suneet
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.commons.logging.Log
log
-
Fields inherited from class org.openiam.srvc.AbstractApiService
applicationContext, rabbitMQSender
-
-
Constructor Summary
Constructors Constructor Description AsynchIdentitySynchServiceImpl(AsynchronSynchronizationQueue rabbitMqQueue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bulkUserMigration(BulkMigrationConfig config)
Moves a set of users from resource or role.Response
checkSynchStatus(SynchConfig config)
int
getRunningSyncStatus(String syncId)
void
resetRunningSyncStatus(String syncId)
void
resynchRole(String roleId)
Asynchronous interface to allow for role re-synchroniation.void
startCustomSynchronization(SynchConfig config, String additionalValues)
void
startSynchronization(SynchConfig config)
Response
testConnection(SynchConfig config)
-
Methods inherited from class org.openiam.srvc.AbstractApiService
broadcast, crudRequest, getBooleanValue, getIntValue, getIntValue, getRabbitMqQueue, getResponse, getResponse, getValue, getValue, getValueList, getValueList, idRequest, manageApiRequest, manageApiRequest, manageCrudApiRequest, manageCrudApiRequest, manageCrudApiRequest, manageCrudApiRequest, membershipRequestProcessing, membershipRequestProcessing, publish, publish, sendAsync, sendAsync
-
-
-
-
Constructor Detail
-
AsynchIdentitySynchServiceImpl
public AsynchIdentitySynchServiceImpl(AsynchronSynchronizationQueue rabbitMqQueue)
-
-
Method Detail
-
startSynchronization
public void startSynchronization(SynchConfig config)
- Specified by:
startSynchronization
in interfaceAsynchIdentitySynchService
-
startCustomSynchronization
public void startCustomSynchronization(SynchConfig config, String additionalValues)
- Specified by:
startCustomSynchronization
in interfaceAsynchIdentitySynchService
-
bulkUserMigration
public void bulkUserMigration(BulkMigrationConfig config)
Description copied from interface:AsynchIdentitySynchService
Moves a set of users from resource or role. Users are selected based on some search criteria defined in the config object.- Specified by:
bulkUserMigration
in interfaceAsynchIdentitySynchService
-
resynchRole
public void resynchRole(String roleId)
Description copied from interface:AsynchIdentitySynchService
Asynchronous interface to allow for role re-synchroniation. When resources associated with a role have been modified, the role membership needs to be resynchronized- Specified by:
resynchRole
in interfaceAsynchIdentitySynchService
-
getRunningSyncStatus
public int getRunningSyncStatus(String syncId)
- Specified by:
getRunningSyncStatus
in interfaceAsynchIdentitySynchService
-
resetRunningSyncStatus
public void resetRunningSyncStatus(String syncId)
- Specified by:
resetRunningSyncStatus
in interfaceAsynchIdentitySynchService
-
testConnection
public Response testConnection(SynchConfig config)
- Specified by:
testConnection
in interfaceAsynchIdentitySynchService
-
checkSynchStatus
public Response checkSynchStatus(SynchConfig config)
- Specified by:
checkSynchStatus
in interfaceAsynchIdentitySynchService
-
-