Package com.soffid.iam.service
Class DispatcherServiceImpl
- java.lang.Object
-
- com.soffid.iam.service.DispatcherServiceBase
-
- com.soffid.iam.service.DispatcherServiceImpl
-
- All Implemented Interfaces:
com.soffid.iam.service.DispatcherService
,org.springframework.context.ApplicationContextAware
public class DispatcherServiceImpl extends DispatcherServiceBase implements org.springframework.context.ApplicationContextAware
- See Also:
es.caib.seycon.ng.servei.DispatcherServiceh
-
-
Constructor Summary
Constructors Constructor Description DispatcherServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
handleAddCertificate(com.soffid.iam.api.Server server, X509Certificate cert)
protected void
handleApplyConfiguration(com.soffid.iam.api.System dispatcher)
protected com.soffid.iam.api.AsyncProcessTracker
handleApplyConfigurationAsync(com.soffid.iam.api.System dispatcher)
protected void
handleCheckConnectivity(String dispatcher)
protected com.soffid.iam.api.ServerRegistrationToken
handleConsumeRegistrationToken(String token)
protected com.soffid.iam.api.AccessControl
handleCreate(com.soffid.iam.api.AccessControl controlAcces)
protected com.soffid.iam.api.AttributeMapping
handleCreate(com.soffid.iam.api.AttributeMapping mapping)
protected com.soffid.iam.api.ObjectMapping
handleCreate(com.soffid.iam.api.ObjectMapping om)
protected com.soffid.iam.api.ObjectMappingProperty
handleCreate(com.soffid.iam.api.ObjectMappingProperty omp)
protected com.soffid.iam.api.ObjectMappingTrigger
handleCreate(com.soffid.iam.api.ObjectMappingTrigger trigger)
protected com.soffid.iam.api.ReconcileTrigger
handleCreate(com.soffid.iam.api.ReconcileTrigger rp)
protected com.soffid.iam.api.Server
handleCreate(com.soffid.iam.api.Server server)
protected com.soffid.iam.api.System
handleCreate(com.soffid.iam.api.System dispatcher)
protected com.soffid.iam.api.SystemGroup
handleCreate(com.soffid.iam.api.SystemGroup grupDispatcher)
protected com.soffid.iam.api.UserTypeDispatcher
handleCreate(com.soffid.iam.api.UserTypeDispatcher tipusUsuari)
protected String
handleCreateRemoteServer(String name, String tenant)
protected void
handleDelete(com.soffid.iam.api.AccessControl controlAcces)
protected void
handleDelete(com.soffid.iam.api.AttributeMapping mapping)
protected void
handleDelete(com.soffid.iam.api.ObjectMapping om)
protected void
handleDelete(com.soffid.iam.api.ObjectMappingProperty omp)
protected void
handleDelete(com.soffid.iam.api.ObjectMappingTrigger mapping)
protected void
handleDelete(com.soffid.iam.api.ReconcileTrigger rp)
protected void
handleDelete(com.soffid.iam.api.Server server)
protected void
handleDelete(com.soffid.iam.api.System dispatcher)
protected void
handleDelete(com.soffid.iam.api.SystemGroup grupDispatcher)
protected void
handleDelete(com.soffid.iam.api.UserTypeDispatcher tipusUsuari)
protected Collection<com.soffid.iam.api.AccessControl>
handleFindAccessControlByDispatcherName(String codiAgent)
protected Map<String,String>
handleFindActiveDirectoryDomains()
protected Collection<com.soffid.iam.api.System>
handleFindAllActiveDispatchers()
protected Collection<com.soffid.iam.api.Server>
handleFindAllServers()
protected Collection<com.soffid.iam.api.AttributeMapping>
handleFindAttributeMappingsByObject(Long objectId)
protected com.soffid.iam.api.System
handleFindDispatcherByName(String codi)
protected Collection<com.soffid.iam.api.System>
handleFindDispatchersByFilter(String codi, String nomCla, String url, String basRol, String segur, Boolean actiu)
protected Collection<com.soffid.iam.api.ObjectMappingProperty>
handleFindObjectMappingPropertiesByObject(Long objectId)
protected Collection<com.soffid.iam.api.ObjectMapping>
handleFindObjectMappingsByDispatcher(Long dispatcherId)
protected Collection<com.soffid.iam.api.ObjectMappingTrigger>
handleFindObjectMappingTriggersByObject(Long objectId)
protected Collection<com.soffid.iam.api.ReconcileTrigger>
handleFindReconcileTriggersByDispatcher(Long dispatcherId)
protected com.soffid.iam.api.System
handleFindSoffidDispatcher()
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.System>
handleFindSystemByTextAndFilter(String text, String query, Integer first, Integer pageSize)
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.System>
handleFindSystemByTextAndFilterAsync(String text, String query)
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.System>
handleFindSystemByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.System>
handleFindSystemByTextAndJsonQueryAsync(String text, String jsonQuery)
protected Collection<com.soffid.iam.api.Server>
handleFindTenantServers()
protected List<X509Certificate>
handleFindValidCertificates()
void
handleFinishVirtualSourceTransaction(String transactionId)
protected String
handleGenerateChangesReport(com.soffid.iam.api.System dispatcher)
protected Collection<com.soffid.iam.api.AccessControl>
handleGetAccessControl(com.soffid.iam.api.System agent)
protected Collection<com.soffid.iam.api.SystemGroup>
handleGetDispatcherGroups(com.soffid.iam.api.System agent)
protected Collection<com.soffid.iam.api.UserTypeDispatcher>
handleGetDispatcherUserTypes(com.soffid.iam.api.System agent)
protected com.soffid.iam.sync.engine.intf.GetObjectResults
handleGetNativeObject(String dispatcher, com.soffid.iam.api.SoffidObjectType type, String object1, String object2)
protected String[]
handleGetServerTenants(com.soffid.iam.api.Server server)
protected com.soffid.iam.sync.engine.intf.GetObjectResults
handleGetSoffidObject(String dispatcher, com.soffid.iam.api.SoffidObjectType type, String object1, String object2)
protected Collection<Map<String,Object>>
handleInvoke(String dispatcher, String verb, String object, Map<String,Object> attributes)
protected Long
handleInvokeAsync(String dispatcher, String verb, String object, Map<String,Object> attributes)
protected boolean
handleIsGroupAllowed(com.soffid.iam.api.System dispatcher, String group)
protected boolean
handleIsRegistrationTokenAlive(String token)
protected boolean
handleIsUserAllowed(com.soffid.iam.api.System dispatcher, String user)
protected boolean
handleIsUserAllowed(com.soffid.iam.api.System dispatcher, String user, Collection<com.soffid.iam.api.RoleGrant> grants)
protected void
handlePorpagateUsersDispatcher(String codiAgent)
protected String
handlePreRegisterServer(com.soffid.iam.api.ServerRegistrationToken register)
protected void
handlePropagateDispatcherGroups(String codiAgent)
protected void
handlePropagateDispatcherRoles(String codiAgent)
protected com.soffid.iam.api.AsyncProcessTracker
handleQueryProcessStatus(com.soffid.iam.api.AsyncProcessTracker process)
protected com.soffid.iam.sync.engine.intf.GetObjectResults
handleReconcile(String dispatcher, String accountName)
protected void
handleRenameAccounts(com.soffid.iam.api.System dispatcher)
protected void
handleSetDefaultMappingsByDispatcher(Long dispatcherId)
protected String
handleStartVirtualSourceTransaction(boolean readonly, String server)
protected Map<String,Object>
handleTestObjectMapping(Map<String,String> sentences, String dispatcher, com.soffid.iam.api.SoffidObjectType type, String object1, String object2)
protected com.soffid.iam.sync.engine.intf.DebugTaskResults
handleTestPropagateObject(String dispatcher, com.soffid.iam.api.SoffidObjectType type, String object1, String object2)
protected com.soffid.iam.api.AccessControl
handleUpdate(com.soffid.iam.api.AccessControl controlAcces)
protected com.soffid.iam.api.AttributeMapping
handleUpdate(com.soffid.iam.api.AttributeMapping mapping)
protected com.soffid.iam.api.ObjectMapping
handleUpdate(com.soffid.iam.api.ObjectMapping om)
protected com.soffid.iam.api.ObjectMappingProperty
handleUpdate(com.soffid.iam.api.ObjectMappingProperty omp)
protected com.soffid.iam.api.ObjectMappingTrigger
handleUpdate(com.soffid.iam.api.ObjectMappingTrigger mapping)
protected com.soffid.iam.api.ReconcileTrigger
handleUpdate(com.soffid.iam.api.ReconcileTrigger rp)
protected com.soffid.iam.api.Server
handleUpdate(com.soffid.iam.api.Server server)
protected com.soffid.iam.api.System
handleUpdate(com.soffid.iam.api.System dispatcher)
protected com.soffid.iam.api.SystemGroup
handleUpdate(com.soffid.iam.api.SystemGroup grupDispatcher)
protected com.soffid.iam.api.UserTypeDispatcher
handleUpdate(com.soffid.iam.api.UserTypeDispatcher tipusUsuari)
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
protected void
updateSeyconServerList()
-
Methods inherited from class com.soffid.iam.service.DispatcherServiceBase
addCertificate, applyConfiguration, applyConfigurationAsync, checkConnectivity, consumeRegistrationToken, create, create, create, create, create, create, create, create, create, create, createRemoteServer, delete, delete, delete, delete, delete, delete, delete, delete, delete, delete, findAccessControlByDispatcherName, findActiveDirectoryDomains, findAllActiveDispatchers, findAllServers, findAttributeMappingsByObject, findDispatcherByName, findDispatchersByFilter, findObjectMappingPropertiesByObject, findObjectMappingsByDispatcher, findObjectMappingTriggersByObject, findReconcileTriggersByDispatcher, findSoffidDispatcher, findSystemByTextAndFilter, findSystemByTextAndFilterAsync, findSystemByTextAndJsonQuery, findSystemByTextAndJsonQueryAsync, findTenantServers, findValidCertificates, finishVirtualSourceTransaction, generateChangesReport, getAccessControl, getAccessControlEntityDao, getAccountAttributeEntityDao, getAccountEntityDao, getAccountMetadataEntityDao, getAccountService, getAgentDescriptorEntityDao, getApplicationService, getAsyncRunnerService, getAttributeMappingEntityDao, getAuditService, getAuthorizationService, getConfigurationService, getDispatcherGroups, getDispatcherUserTypes, getGroupEntityDao, getHostSystemEntityDao, getMetaDataEntityDao, getNativeObject, getObjectMappingEntityDao, getObjectMappingPropertyEntityDao, getObjectMappingTriggerEntityDao, getPrincipal, getReconcileTriggerEntityDao, getRoleEntityDao, getScheduledTaskService, getServerCertificateEntityDao, getServerEntityDao, getServerRegistrationTokenEntityDao, getServerTenants, getSoffidObject, getSyncServerService, getSystemEntityDao, getSystemGroupEntityDao, getTaskEntityDao, getTenantEntityDao, getUserDomainEntityDao, getUserEntityDao, getUserService, getUserTypeEntityDao, getUserTypeSystemEntityDao, invoke, invokeAsync, isGroupAllowed, isRegistrationTokenAlive, isUserAllowed, isUserAllowed, porpagateUsersDispatcher, preRegisterServer, propagateDispatcherGroups, propagateDispatcherRoles, queryProcessStatus, reconcile, renameAccounts, setAccessControlEntityDao, setAccountAttributeEntityDao, setAccountEntityDao, setAccountMetadataEntityDao, setAccountService, setAgentDescriptorEntityDao, setApplicationService, setAsyncRunnerService, setAttributeMappingEntityDao, setAuditService, setAuthorizationService, setConfigurationService, setDefaultMappingsByDispatcher, setGroupEntityDao, setHostSystemEntityDao, setMetaDataEntityDao, setObjectMappingEntityDao, setObjectMappingPropertyEntityDao, setObjectMappingTriggerEntityDao, setReconcileTriggerEntityDao, setRoleEntityDao, setScheduledTaskService, setServerCertificateEntityDao, setServerEntityDao, setServerRegistrationTokenEntityDao, setSyncServerService, setSystemEntityDao, setSystemGroupEntityDao, setTaskEntityDao, setTenantEntityDao, setUserDomainEntityDao, setUserEntityDao, setUserService, setUserTypeEntityDao, setUserTypeSystemEntityDao, startVirtualSourceTransaction, testObjectMapping, testPropagateObject, update, update, update, update, update, update, update, update, update, update
-
-
-
-
Method Detail
-
handleCreate
protected com.soffid.iam.api.System handleCreate(com.soffid.iam.api.System dispatcher) throws Exception
- Specified by:
handleCreate
in classDispatcherServiceBase
- Throws:
Exception
- See Also:
DispatcherService.create(es.caib.seycon.ng.comu.Dispatcher)
-
handleUpdate
protected com.soffid.iam.api.System handleUpdate(com.soffid.iam.api.System dispatcher) throws Exception
- Specified by:
handleUpdate
in classDispatcherServiceBase
- Throws:
Exception
- See Also:
DispatcherService.update(es.caib.seycon.ng.comu.Dispatcher)
-
handleDelete
protected void handleDelete(com.soffid.iam.api.System dispatcher) throws Exception
- Specified by:
handleDelete
in classDispatcherServiceBase
- Throws:
Exception
- See Also:
DispatcherService.delete(es.caib.seycon.ng.comu.Dispatcher)
-
handleFindDispatcherByName
protected com.soffid.iam.api.System handleFindDispatcherByName(String codi) throws Exception
- Specified by:
handleFindDispatcherByName
in classDispatcherServiceBase
- Throws:
Exception
-
handleFindDispatchersByFilter
protected Collection<com.soffid.iam.api.System> handleFindDispatchersByFilter(String codi, String nomCla, String url, String basRol, String segur, Boolean actiu) throws Exception
- Specified by:
handleFindDispatchersByFilter
in classDispatcherServiceBase
- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.AccessControl handleCreate(com.soffid.iam.api.AccessControl controlAcces) throws Exception
- Specified by:
handleCreate
in classDispatcherServiceBase
- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.AccessControl handleUpdate(com.soffid.iam.api.AccessControl controlAcces) throws Exception
- Specified by:
handleUpdate
in classDispatcherServiceBase
- Throws:
Exception
-
handleDelete
protected void handleDelete(com.soffid.iam.api.AccessControl controlAcces) throws Exception
- Specified by:
handleDelete
in classDispatcherServiceBase
- Throws:
Exception
-
handleFindAccessControlByDispatcherName
protected Collection<com.soffid.iam.api.AccessControl> handleFindAccessControlByDispatcherName(String codiAgent) throws Exception
- Specified by:
handleFindAccessControlByDispatcherName
in classDispatcherServiceBase
- Throws:
Exception
-
handlePorpagateUsersDispatcher
protected void handlePorpagateUsersDispatcher(String codiAgent) throws Exception
- Specified by:
handlePorpagateUsersDispatcher
in classDispatcherServiceBase
- Throws:
Exception
-
handlePropagateDispatcherRoles
protected void handlePropagateDispatcherRoles(String codiAgent) throws Exception
- Specified by:
handlePropagateDispatcherRoles
in classDispatcherServiceBase
- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.UserTypeDispatcher handleCreate(com.soffid.iam.api.UserTypeDispatcher tipusUsuari) throws Exception
- Specified by:
handleCreate
in classDispatcherServiceBase
- Throws:
Exception
-
handleDelete
protected void handleDelete(com.soffid.iam.api.UserTypeDispatcher tipusUsuari) throws Exception
- Specified by:
handleDelete
in classDispatcherServiceBase
- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.SystemGroup handleCreate(com.soffid.iam.api.SystemGroup grupDispatcher) throws Exception
- Specified by:
handleCreate
in classDispatcherServiceBase
- Throws:
Exception
-
handleDelete
protected void handleDelete(com.soffid.iam.api.SystemGroup grupDispatcher) throws Exception
- Specified by:
handleDelete
in classDispatcherServiceBase
- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.UserTypeDispatcher handleUpdate(com.soffid.iam.api.UserTypeDispatcher tipusUsuari) throws Exception
- Specified by:
handleUpdate
in classDispatcherServiceBase
- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.SystemGroup handleUpdate(com.soffid.iam.api.SystemGroup grupDispatcher) throws Exception
- Specified by:
handleUpdate
in classDispatcherServiceBase
- Throws:
Exception
-
handleGetAccessControl
protected Collection<com.soffid.iam.api.AccessControl> handleGetAccessControl(com.soffid.iam.api.System agent) throws Exception
- Specified by:
handleGetAccessControl
in classDispatcherServiceBase
- Throws:
Exception
-
handleGetDispatcherGroups
protected Collection<com.soffid.iam.api.SystemGroup> handleGetDispatcherGroups(com.soffid.iam.api.System agent) throws Exception
- Specified by:
handleGetDispatcherGroups
in classDispatcherServiceBase
- Throws:
Exception
-
handleGetDispatcherUserTypes
protected Collection<com.soffid.iam.api.UserTypeDispatcher> handleGetDispatcherUserTypes(com.soffid.iam.api.System agent) throws Exception
- Specified by:
handleGetDispatcherUserTypes
in classDispatcherServiceBase
- Throws:
Exception
-
handleIsUserAllowed
protected boolean handleIsUserAllowed(com.soffid.iam.api.System dispatcher, String user) throws Exception
- Specified by:
handleIsUserAllowed
in classDispatcherServiceBase
- Throws:
Exception
-
handleFindAllActiveDispatchers
protected Collection<com.soffid.iam.api.System> handleFindAllActiveDispatchers() throws Exception
- Specified by:
handleFindAllActiveDispatchers
in classDispatcherServiceBase
- Throws:
Exception
-
handleIsGroupAllowed
protected boolean handleIsGroupAllowed(com.soffid.iam.api.System dispatcher, String group) throws Exception
- Specified by:
handleIsGroupAllowed
in classDispatcherServiceBase
- Throws:
Exception
-
handleFindAllServers
protected Collection<com.soffid.iam.api.Server> handleFindAllServers() throws Exception
- Specified by:
handleFindAllServers
in classDispatcherServiceBase
- Throws:
Exception
-
handleFindTenantServers
protected Collection<com.soffid.iam.api.Server> handleFindTenantServers() throws Exception
- Specified by:
handleFindTenantServers
in classDispatcherServiceBase
- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.Server handleUpdate(com.soffid.iam.api.Server server) throws Exception
- Specified by:
handleUpdate
in classDispatcherServiceBase
- Throws:
Exception
-
handleDelete
protected void handleDelete(com.soffid.iam.api.Server server) throws Exception
- Specified by:
handleDelete
in classDispatcherServiceBase
- Throws:
Exception
-
updateSeyconServerList
protected void updateSeyconServerList() throws es.caib.seycon.ng.exception.InternalErrorException
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCreate
protected com.soffid.iam.api.Server handleCreate(com.soffid.iam.api.Server server) throws Exception
- Specified by:
handleCreate
in classDispatcherServiceBase
- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.AttributeMapping handleCreate(com.soffid.iam.api.AttributeMapping mapping) throws Exception
- Specified by:
handleCreate
in classDispatcherServiceBase
- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.AttributeMapping handleUpdate(com.soffid.iam.api.AttributeMapping mapping) throws Exception
- Specified by:
handleUpdate
in classDispatcherServiceBase
- Throws:
Exception
-
handleDelete
protected void handleDelete(com.soffid.iam.api.AttributeMapping mapping) throws Exception
- Specified by:
handleDelete
in classDispatcherServiceBase
- Throws:
Exception
-
handleFindAttributeMappingsByObject
protected Collection<com.soffid.iam.api.AttributeMapping> handleFindAttributeMappingsByObject(Long objectId) throws Exception
- Specified by:
handleFindAttributeMappingsByObject
in classDispatcherServiceBase
- Throws:
Exception
-
handleSetDefaultMappingsByDispatcher
protected void handleSetDefaultMappingsByDispatcher(Long dispatcherId) throws Exception
- Specified by:
handleSetDefaultMappingsByDispatcher
in classDispatcherServiceBase
- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.ObjectMapping handleCreate(com.soffid.iam.api.ObjectMapping om) throws Exception
- Specified by:
handleCreate
in classDispatcherServiceBase
- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.ObjectMapping handleUpdate(com.soffid.iam.api.ObjectMapping om) throws Exception
- Specified by:
handleUpdate
in classDispatcherServiceBase
- Throws:
Exception
-
handleDelete
protected void handleDelete(com.soffid.iam.api.ObjectMapping om) throws Exception
- Specified by:
handleDelete
in classDispatcherServiceBase
- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.ObjectMappingProperty handleCreate(com.soffid.iam.api.ObjectMappingProperty omp) throws Exception
- Specified by:
handleCreate
in classDispatcherServiceBase
- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.ObjectMappingProperty handleUpdate(com.soffid.iam.api.ObjectMappingProperty omp) throws Exception
- Specified by:
handleUpdate
in classDispatcherServiceBase
- Throws:
Exception
-
handleDelete
protected void handleDelete(com.soffid.iam.api.ObjectMappingProperty omp) throws Exception
- Specified by:
handleDelete
in classDispatcherServiceBase
- Throws:
Exception
-
handleFindObjectMappingsByDispatcher
protected Collection<com.soffid.iam.api.ObjectMapping> handleFindObjectMappingsByDispatcher(Long dispatcherId) throws Exception
- Specified by:
handleFindObjectMappingsByDispatcher
in classDispatcherServiceBase
- Throws:
Exception
-
handleFindObjectMappingPropertiesByObject
protected Collection<com.soffid.iam.api.ObjectMappingProperty> handleFindObjectMappingPropertiesByObject(Long objectId) throws Exception
- Specified by:
handleFindObjectMappingPropertiesByObject
in classDispatcherServiceBase
- Throws:
Exception
-
handlePropagateDispatcherGroups
protected void handlePropagateDispatcherGroups(String codiAgent) throws Exception
- Specified by:
handlePropagateDispatcherGroups
in classDispatcherServiceBase
- Throws:
Exception
-
handleFindSoffidDispatcher
protected com.soffid.iam.api.System handleFindSoffidDispatcher() throws Exception
- Specified by:
handleFindSoffidDispatcher
in classDispatcherServiceBase
- Throws:
Exception
-
handleGetServerTenants
protected String[] handleGetServerTenants(com.soffid.iam.api.Server server) throws Exception
- Specified by:
handleGetServerTenants
in classDispatcherServiceBase
- Throws:
Exception
-
handleDelete
protected void handleDelete(com.soffid.iam.api.ReconcileTrigger rp) throws Exception
- Specified by:
handleDelete
in classDispatcherServiceBase
- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.ReconcileTrigger handleCreate(com.soffid.iam.api.ReconcileTrigger rp) throws Exception
- Specified by:
handleCreate
in classDispatcherServiceBase
- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.ReconcileTrigger handleUpdate(com.soffid.iam.api.ReconcileTrigger rp) throws Exception
- Specified by:
handleUpdate
in classDispatcherServiceBase
- Throws:
Exception
-
handleFindReconcileTriggersByDispatcher
protected Collection<com.soffid.iam.api.ReconcileTrigger> handleFindReconcileTriggersByDispatcher(Long dispatcherId) throws Exception
- Specified by:
handleFindReconcileTriggersByDispatcher
in classDispatcherServiceBase
- Throws:
Exception
-
handleTestObjectMapping
protected Map<String,Object> handleTestObjectMapping(Map<String,String> sentences, String dispatcher, com.soffid.iam.api.SoffidObjectType type, String object1, String object2) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
handleTestObjectMapping
in classDispatcherServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleTestPropagateObject
protected com.soffid.iam.sync.engine.intf.DebugTaskResults handleTestPropagateObject(String dispatcher, com.soffid.iam.api.SoffidObjectType type, String object1, String object2) throws Exception
- Specified by:
handleTestPropagateObject
in classDispatcherServiceBase
- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.ObjectMappingTrigger handleCreate(com.soffid.iam.api.ObjectMappingTrigger trigger) throws Exception
- Specified by:
handleCreate
in classDispatcherServiceBase
- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.ObjectMappingTrigger handleUpdate(com.soffid.iam.api.ObjectMappingTrigger mapping) throws Exception
- Specified by:
handleUpdate
in classDispatcherServiceBase
- Throws:
Exception
-
handleDelete
protected void handleDelete(com.soffid.iam.api.ObjectMappingTrigger mapping) throws Exception
- Specified by:
handleDelete
in classDispatcherServiceBase
- Throws:
Exception
-
handleFindObjectMappingTriggersByObject
protected Collection<com.soffid.iam.api.ObjectMappingTrigger> handleFindObjectMappingTriggersByObject(Long objectId) throws Exception
- Specified by:
handleFindObjectMappingTriggersByObject
in classDispatcherServiceBase
- Throws:
Exception
-
handleGetNativeObject
protected com.soffid.iam.sync.engine.intf.GetObjectResults handleGetNativeObject(String dispatcher, com.soffid.iam.api.SoffidObjectType type, String object1, String object2) throws Exception
- Specified by:
handleGetNativeObject
in classDispatcherServiceBase
- Throws:
Exception
-
handleGetSoffidObject
protected com.soffid.iam.sync.engine.intf.GetObjectResults handleGetSoffidObject(String dispatcher, com.soffid.iam.api.SoffidObjectType type, String object1, String object2) throws Exception
- Specified by:
handleGetSoffidObject
in classDispatcherServiceBase
- Throws:
Exception
-
handleCheckConnectivity
protected void handleCheckConnectivity(String dispatcher) throws Exception
- Specified by:
handleCheckConnectivity
in classDispatcherServiceBase
- Throws:
Exception
-
handleGenerateChangesReport
protected String handleGenerateChangesReport(com.soffid.iam.api.System dispatcher) throws Exception
- Specified by:
handleGenerateChangesReport
in classDispatcherServiceBase
- Throws:
Exception
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
handleApplyConfiguration
protected void handleApplyConfiguration(com.soffid.iam.api.System dispatcher) throws Exception
- Specified by:
handleApplyConfiguration
in classDispatcherServiceBase
- Throws:
Exception
-
handleRenameAccounts
protected void handleRenameAccounts(com.soffid.iam.api.System dispatcher) throws Exception
- Specified by:
handleRenameAccounts
in classDispatcherServiceBase
- Throws:
Exception
-
handleIsUserAllowed
protected boolean handleIsUserAllowed(com.soffid.iam.api.System dispatcher, String user, Collection<com.soffid.iam.api.RoleGrant> grants) throws Exception
- Specified by:
handleIsUserAllowed
in classDispatcherServiceBase
- Throws:
Exception
-
handleCreateRemoteServer
protected String handleCreateRemoteServer(String name, String tenant) throws Exception
- Specified by:
handleCreateRemoteServer
in classDispatcherServiceBase
- Throws:
Exception
-
handleReconcile
protected com.soffid.iam.sync.engine.intf.GetObjectResults handleReconcile(String dispatcher, String accountName) throws Exception
- Specified by:
handleReconcile
in classDispatcherServiceBase
- Throws:
Exception
-
handleFindSystemByTextAndJsonQueryAsync
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.System> handleFindSystemByTextAndJsonQueryAsync(String text, String jsonQuery) throws Exception
- Specified by:
handleFindSystemByTextAndJsonQueryAsync
in classDispatcherServiceBase
- Throws:
Exception
-
handleFindSystemByTextAndJsonQuery
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.System> handleFindSystemByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws Exception
- Specified by:
handleFindSystemByTextAndJsonQuery
in classDispatcherServiceBase
- Throws:
Exception
-
handleFindSystemByTextAndFilterAsync
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.System> handleFindSystemByTextAndFilterAsync(String text, String query) throws Exception
- Specified by:
handleFindSystemByTextAndFilterAsync
in classDispatcherServiceBase
- Throws:
Exception
-
handleFindSystemByTextAndFilter
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.System> handleFindSystemByTextAndFilter(String text, String query, Integer first, Integer pageSize) throws Exception
- Specified by:
handleFindSystemByTextAndFilter
in classDispatcherServiceBase
- Throws:
Exception
-
handleFinishVirtualSourceTransaction
public void handleFinishVirtualSourceTransaction(String transactionId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
handleFinishVirtualSourceTransaction
in classDispatcherServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleStartVirtualSourceTransaction
protected String handleStartVirtualSourceTransaction(boolean readonly, String server) throws Exception
- Specified by:
handleStartVirtualSourceTransaction
in classDispatcherServiceBase
- Throws:
Exception
-
handleAddCertificate
protected void handleAddCertificate(com.soffid.iam.api.Server server, X509Certificate cert) throws Exception
- Specified by:
handleAddCertificate
in classDispatcherServiceBase
- Throws:
Exception
-
handleFindValidCertificates
protected List<X509Certificate> handleFindValidCertificates() throws Exception
- Specified by:
handleFindValidCertificates
in classDispatcherServiceBase
- Throws:
Exception
-
handleInvoke
protected Collection<Map<String,Object>> handleInvoke(String dispatcher, String verb, String object, Map<String,Object> attributes) throws Exception
- Specified by:
handleInvoke
in classDispatcherServiceBase
- Throws:
Exception
-
handleInvokeAsync
protected Long handleInvokeAsync(String dispatcher, String verb, String object, Map<String,Object> attributes) throws Exception
- Specified by:
handleInvokeAsync
in classDispatcherServiceBase
- Throws:
Exception
-
handleApplyConfigurationAsync
protected com.soffid.iam.api.AsyncProcessTracker handleApplyConfigurationAsync(com.soffid.iam.api.System dispatcher) throws Exception
- Specified by:
handleApplyConfigurationAsync
in classDispatcherServiceBase
- Throws:
Exception
-
handleQueryProcessStatus
protected com.soffid.iam.api.AsyncProcessTracker handleQueryProcessStatus(com.soffid.iam.api.AsyncProcessTracker process) throws Exception
- Specified by:
handleQueryProcessStatus
in classDispatcherServiceBase
- Throws:
Exception
-
handleConsumeRegistrationToken
protected com.soffid.iam.api.ServerRegistrationToken handleConsumeRegistrationToken(String token) throws Exception
- Specified by:
handleConsumeRegistrationToken
in classDispatcherServiceBase
- Throws:
Exception
-
handlePreRegisterServer
protected String handlePreRegisterServer(com.soffid.iam.api.ServerRegistrationToken register) throws Exception
- Specified by:
handlePreRegisterServer
in classDispatcherServiceBase
- Throws:
Exception
-
handleIsRegistrationTokenAlive
protected boolean handleIsRegistrationTokenAlive(String token) throws Exception
- Specified by:
handleIsRegistrationTokenAlive
in classDispatcherServiceBase
- Throws:
Exception
-
handleFindActiveDirectoryDomains
protected Map<String,String> handleFindActiveDirectoryDomains() throws Exception
- Specified by:
handleFindActiveDirectoryDomains
in classDispatcherServiceBase
- Throws:
Exception
-
-