Package com.soffid.iam.service.ejb
Class DispatcherServiceBean
- java.lang.Object
-
- org.springframework.ejb.support.AbstractStatelessSessionBean
-
- com.soffid.iam.service.ejb.DispatcherServiceBean
-
- All Implemented Interfaces:
com.soffid.iam.service.ejb.DispatcherService
,Serializable
,javax.ejb.EnterpriseBean
,javax.ejb.SessionBean
,org.springframework.ejb.support.SmartSessionBean
public class DispatcherServiceBean extends org.springframework.ejb.support.AbstractStatelessSessionBean implements com.soffid.iam.service.ejb.DispatcherService
- See Also:
com.soffid.iam.service.DispatcherService
,,es.caib.seycon.ng.servei.DispatcherService
,, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
-
Constructor Summary
Constructors Constructor Description DispatcherServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyConfiguration(com.soffid.iam.api.System dispatcher)
com.soffid.iam.api.AsyncProcessTracker
applyConfigurationAsync(com.soffid.iam.api.System dispatcher)
void
checkConnectivity(String dispatcher)
com.soffid.iam.api.AccessControl
create(com.soffid.iam.api.AccessControl controlAcces)
com.soffid.iam.api.AttributeMapping
create(com.soffid.iam.api.AttributeMapping mapping)
com.soffid.iam.api.ObjectMapping
create(com.soffid.iam.api.ObjectMapping om)
com.soffid.iam.api.ObjectMappingProperty
create(com.soffid.iam.api.ObjectMappingProperty omp)
com.soffid.iam.api.ObjectMappingTrigger
create(com.soffid.iam.api.ObjectMappingTrigger trigger)
com.soffid.iam.api.ReconcileTrigger
create(com.soffid.iam.api.ReconcileTrigger rp)
com.soffid.iam.api.Server
create(com.soffid.iam.api.Server server)
com.soffid.iam.api.System
create(com.soffid.iam.api.System dispatcher)
com.soffid.iam.api.SystemGroup
create(com.soffid.iam.api.SystemGroup grupDispatcher)
com.soffid.iam.api.UserTypeDispatcher
create(com.soffid.iam.api.UserTypeDispatcher tipusUsuari)
void
delete(com.soffid.iam.api.AccessControl controlAcces)
void
delete(com.soffid.iam.api.AttributeMapping mapping)
void
delete(com.soffid.iam.api.ObjectMapping om)
void
delete(com.soffid.iam.api.ObjectMappingProperty omp)
void
delete(com.soffid.iam.api.ObjectMappingTrigger tirger)
void
delete(com.soffid.iam.api.ReconcileTrigger rp)
void
delete(com.soffid.iam.api.Server server)
void
delete(com.soffid.iam.api.System dispatcher)
void
delete(com.soffid.iam.api.SystemGroup grupDispatcher)
void
delete(com.soffid.iam.api.UserTypeDispatcher tipusUsuari)
void
ejbCreate()
Initizlizes beenvoid
ejbRemove()
Collection<com.soffid.iam.api.AccessControl>
findAccessControlByDispatcherName(String codiAgent)
Collection<com.soffid.iam.api.System>
findAllActiveDispatchers()
Collection<com.soffid.iam.api.Server>
findAllServers()
Collection<com.soffid.iam.api.AttributeMapping>
findAttributeMappingsByObject(Long objectId)
com.soffid.iam.api.System
findDispatcherByName(String codi)
Collection<com.soffid.iam.api.System>
findDispatchersByFilter(String codi, String nomCla, String url, String basRol, String segur, Boolean actiu)
Collection<com.soffid.iam.api.ObjectMappingProperty>
findObjectMappingPropertiesByObject(Long objectId)
Collection<com.soffid.iam.api.ObjectMapping>
findObjectMappingsByDispatcher(Long dispatcherId)
Collection<com.soffid.iam.api.ObjectMappingTrigger>
findObjectMappingTriggersByObject(Long objectId)
Collection<com.soffid.iam.api.ReconcileTrigger>
findReconcileTriggersByDispatcher(Long dispatcherId)
com.soffid.iam.api.System
findSoffidDispatcher()
com.soffid.iam.api.PagedResult<com.soffid.iam.api.System>
findSystemByTextAndFilter(String text, String query, Integer first, Integer max)
com.soffid.iam.api.AsyncList<com.soffid.iam.api.System>
findSystemByTextAndFilterAsync(String text, String query)
com.soffid.iam.api.PagedResult<com.soffid.iam.api.System>
findSystemByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)
com.soffid.iam.api.AsyncList<com.soffid.iam.api.System>
findSystemByTextAndJsonQueryAsync(String text, String jsonQuery)
Collection<com.soffid.iam.api.Server>
findTenantServers()
void
finishVirtualSourceTransaction(String transactionId)
String
generateChangesReport(com.soffid.iam.api.System dispatcher)
Collection<com.soffid.iam.api.AccessControl>
getAccessControl(com.soffid.iam.api.System agent)
protected org.springframework.beans.factory.BeanFactory
getBeanFactory()
Collection<com.soffid.iam.api.SystemGroup>
getDispatcherGroups(com.soffid.iam.api.System agent)
Collection<com.soffid.iam.api.UserTypeDispatcher>
getDispatcherUserTypes(com.soffid.iam.api.System agent)
com.soffid.iam.sync.engine.intf.GetObjectResults
getNativeObject(String dispatcher, com.soffid.iam.api.SoffidObjectType type, String object1, String object2)
String[]
getServerTenants(com.soffid.iam.api.Server server)
javax.ejb.SessionContext
getSessionContext()
com.soffid.iam.sync.engine.intf.GetObjectResults
getSoffidObject(String dispatcher, com.soffid.iam.api.SoffidObjectType type, String object1, String object2)
Collection<Map<String,Object>>
invoke(String dispatcher, String verb, String object, Map<String,Object> attributes)
Long
invokeAsync(String dispatcher, String verb, String object, Map<String,Object> attributes)
boolean
isRegistrationTokenAlive(String token)
protected void
onEjbCreate()
protected void
onEjbRemove()
void
porpagateUsersDispatcher(String codiAgent)
String
preRegisterServer(com.soffid.iam.api.ServerRegistrationToken register)
void
propagateDispatcherGroups(String codiAgent)
void
propagateDispatcherRoles(String codiAgent)
com.soffid.iam.api.AsyncProcessTracker
queryProcessStatus(com.soffid.iam.api.AsyncProcessTracker process)
com.soffid.iam.sync.engine.intf.GetObjectResults
reconcile(String dispatcher, String accountName)
void
renameAccounts(com.soffid.iam.api.System dispatcher)
void
setBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
void
setBeanFactoryLocatorKey(String arg0)
void
setDefaultMappingsByDispatcher(Long dispatcherId)
void
setSessionContext(javax.ejb.SessionContext sessionContext)
Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.String
startVirtualSourceTransaction(boolean readonly, String server)
Map<String,Object>
testObjectMapping(Map<String,String> sentences, String dispatcher, com.soffid.iam.api.SoffidObjectType type, String object1, String object2)
com.soffid.iam.sync.engine.intf.DebugTaskResults
testPropagateObject(String dispatcher, com.soffid.iam.api.SoffidObjectType type, String object1, String object2)
com.soffid.iam.api.AccessControl
update(com.soffid.iam.api.AccessControl controlAcces)
com.soffid.iam.api.AttributeMapping
update(com.soffid.iam.api.AttributeMapping mapping)
com.soffid.iam.api.ObjectMapping
update(com.soffid.iam.api.ObjectMapping om)
com.soffid.iam.api.ObjectMappingProperty
update(com.soffid.iam.api.ObjectMappingProperty om)
com.soffid.iam.api.ObjectMappingTrigger
update(com.soffid.iam.api.ObjectMappingTrigger trigger)
com.soffid.iam.api.ReconcileTrigger
update(com.soffid.iam.api.ReconcileTrigger rp)
com.soffid.iam.api.Server
update(com.soffid.iam.api.Server server)
com.soffid.iam.api.System
update(com.soffid.iam.api.System dispatcher)
com.soffid.iam.api.SystemGroup
update(com.soffid.iam.api.SystemGroup grupDispatcher)
com.soffid.iam.api.UserTypeDispatcher
update(com.soffid.iam.api.UserTypeDispatcher tipusUsuari)
-
Methods inherited from class org.springframework.ejb.support.AbstractStatelessSessionBean
ejbActivate, ejbPassivate
-
-
-
-
Field Detail
-
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
public static final String BEAN_FACTORY_PATH_ENVIRONMENT_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
startVirtualSourceTransaction
@PermitAll public String startVirtualSourceTransaction(boolean readonly, String server) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
startVirtualSourceTransaction
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
finishVirtualSourceTransaction
@PermitAll public void finishVirtualSourceTransaction(String transactionId) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
finishVirtualSourceTransaction
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
isRegistrationTokenAlive
@PermitAll public boolean isRegistrationTokenAlive(String token) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
isRegistrationTokenAlive
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findSystemByTextAndFilterAsync
@PermitAll public com.soffid.iam.api.AsyncList<com.soffid.iam.api.System> findSystemByTextAndFilterAsync(String text, String query) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findSystemByTextAndFilterAsync
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findSystemByTextAndJsonQueryAsync
@PermitAll public com.soffid.iam.api.AsyncList<com.soffid.iam.api.System> findSystemByTextAndJsonQueryAsync(String text, String jsonQuery) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findSystemByTextAndJsonQueryAsync
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
applyConfigurationAsync
@PermitAll public com.soffid.iam.api.AsyncProcessTracker applyConfigurationAsync(com.soffid.iam.api.System dispatcher) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
applyConfigurationAsync
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
queryProcessStatus
@PermitAll public com.soffid.iam.api.AsyncProcessTracker queryProcessStatus(com.soffid.iam.api.AsyncProcessTracker process) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
queryProcessStatus
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findSystemByTextAndFilter
@PermitAll public com.soffid.iam.api.PagedResult<com.soffid.iam.api.System> findSystemByTextAndFilter(String text, String query, Integer first, Integer max) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findSystemByTextAndFilter
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findSystemByTextAndJsonQuery
@PermitAll public com.soffid.iam.api.PagedResult<com.soffid.iam.api.System> findSystemByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findSystemByTextAndJsonQuery
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.ReconcileTrigger create(com.soffid.iam.api.ReconcileTrigger rp) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.ReconcileTrigger update(com.soffid.iam.api.ReconcileTrigger rp) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
testPropagateObject
@PermitAll public com.soffid.iam.sync.engine.intf.DebugTaskResults testPropagateObject(String dispatcher, com.soffid.iam.api.SoffidObjectType type, String object1, String object2) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
testPropagateObject
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getNativeObject
@PermitAll public com.soffid.iam.sync.engine.intf.GetObjectResults getNativeObject(String dispatcher, com.soffid.iam.api.SoffidObjectType type, String object1, String object2) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getNativeObject
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getSoffidObject
@PermitAll public com.soffid.iam.sync.engine.intf.GetObjectResults getSoffidObject(String dispatcher, com.soffid.iam.api.SoffidObjectType type, String object1, String object2) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getSoffidObject
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
reconcile
@PermitAll public com.soffid.iam.sync.engine.intf.GetObjectResults reconcile(String dispatcher, String accountName) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
reconcile
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.AttributeMapping create(com.soffid.iam.api.AttributeMapping mapping) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.AttributeMapping update(com.soffid.iam.api.AttributeMapping mapping) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.AccessControl create(com.soffid.iam.api.AccessControl controlAcces) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.AccessControl update(com.soffid.iam.api.AccessControl controlAcces) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.System create(com.soffid.iam.api.System dispatcher) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findDispatcherByName
@PermitAll public com.soffid.iam.api.System findDispatcherByName(String codi) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findDispatcherByName
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findSoffidDispatcher
@PermitAll public com.soffid.iam.api.System findSoffidDispatcher() throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findSoffidDispatcher
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.System update(com.soffid.iam.api.System dispatcher) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.SystemGroup create(com.soffid.iam.api.SystemGroup grupDispatcher) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.SystemGroup update(com.soffid.iam.api.SystemGroup grupDispatcher) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.ObjectMapping create(com.soffid.iam.api.ObjectMapping om) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.ObjectMapping update(com.soffid.iam.api.ObjectMapping om) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.ObjectMappingProperty create(com.soffid.iam.api.ObjectMappingProperty omp) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.ObjectMappingProperty update(com.soffid.iam.api.ObjectMappingProperty om) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.ObjectMappingTrigger create(com.soffid.iam.api.ObjectMappingTrigger trigger) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.ObjectMappingTrigger update(com.soffid.iam.api.ObjectMappingTrigger trigger) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.Server create(com.soffid.iam.api.Server server) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.Server update(com.soffid.iam.api.Server server) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.UserTypeDispatcher create(com.soffid.iam.api.UserTypeDispatcher tipusUsuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.UserTypeDispatcher update(com.soffid.iam.api.UserTypeDispatcher tipusUsuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
invokeAsync
@PermitAll public Long invokeAsync(String dispatcher, String verb, String object, Map<String,Object> attributes) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
invokeAsync
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
generateChangesReport
@PermitAll public String generateChangesReport(com.soffid.iam.api.System dispatcher) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
generateChangesReport
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
preRegisterServer
@PermitAll public String preRegisterServer(com.soffid.iam.api.ServerRegistrationToken register) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
preRegisterServer
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getServerTenants
@PermitAll public String[] getServerTenants(com.soffid.iam.api.Server server) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getServerTenants
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAllActiveDispatchers
@PermitAll public Collection<com.soffid.iam.api.System> findAllActiveDispatchers() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAllActiveDispatchers
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAllServers
@PermitAll public Collection<com.soffid.iam.api.Server> findAllServers() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAllServers
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAttributeMappingsByObject
@PermitAll public Collection<com.soffid.iam.api.AttributeMapping> findAttributeMappingsByObject(Long objectId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAttributeMappingsByObject
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAccessControlByDispatcherName
@PermitAll public Collection<com.soffid.iam.api.AccessControl> findAccessControlByDispatcherName(String codiAgent) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccessControlByDispatcherName
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findDispatchersByFilter
@PermitAll public Collection<com.soffid.iam.api.System> findDispatchersByFilter(String codi, String nomCla, String url, String basRol, String segur, Boolean actiu) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findDispatchersByFilter
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findObjectMappingPropertiesByObject
@PermitAll public Collection<com.soffid.iam.api.ObjectMappingProperty> findObjectMappingPropertiesByObject(Long objectId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findObjectMappingPropertiesByObject
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findObjectMappingTriggersByObject
@PermitAll public Collection<com.soffid.iam.api.ObjectMappingTrigger> findObjectMappingTriggersByObject(Long objectId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findObjectMappingTriggersByObject
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findObjectMappingsByDispatcher
@PermitAll public Collection<com.soffid.iam.api.ObjectMapping> findObjectMappingsByDispatcher(Long dispatcherId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findObjectMappingsByDispatcher
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findReconcileTriggersByDispatcher
@PermitAll public Collection<com.soffid.iam.api.ReconcileTrigger> findReconcileTriggersByDispatcher(Long dispatcherId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findReconcileTriggersByDispatcher
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findTenantServers
@PermitAll public Collection<com.soffid.iam.api.Server> findTenantServers() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findTenantServers
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getAccessControl
@PermitAll public Collection<com.soffid.iam.api.AccessControl> getAccessControl(com.soffid.iam.api.System agent) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getAccessControl
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getDispatcherGroups
@PermitAll public Collection<com.soffid.iam.api.SystemGroup> getDispatcherGroups(com.soffid.iam.api.System agent) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getDispatcherGroups
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getDispatcherUserTypes
@PermitAll public Collection<com.soffid.iam.api.UserTypeDispatcher> getDispatcherUserTypes(com.soffid.iam.api.System agent) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getDispatcherUserTypes
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
invoke
@PermitAll public Collection<Map<String,Object>> invoke(String dispatcher, String verb, String object, Map<String,Object> attributes) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
invoke
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
testObjectMapping
@PermitAll public Map<String,Object> testObjectMapping(Map<String,String> sentences, String dispatcher, com.soffid.iam.api.SoffidObjectType type, String object1, String object2) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
testObjectMapping
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
applyConfiguration
@PermitAll public void applyConfiguration(com.soffid.iam.api.System dispatcher) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
applyConfiguration
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
checkConnectivity
@PermitAll public void checkConnectivity(String dispatcher) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
checkConnectivity
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.ReconcileTrigger rp) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.AttributeMapping mapping) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.AccessControl controlAcces) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.System dispatcher) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.SystemGroup grupDispatcher) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.ObjectMapping om) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.ObjectMappingProperty omp) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.ObjectMappingTrigger tirger) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.Server server) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.UserTypeDispatcher tipusUsuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
propagateDispatcherGroups
@PermitAll public void propagateDispatcherGroups(String codiAgent) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
propagateDispatcherGroups
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
propagateDispatcherRoles
@PermitAll public void propagateDispatcherRoles(String codiAgent) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
propagateDispatcherRoles
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
porpagateUsersDispatcher
@PermitAll public void porpagateUsersDispatcher(String codiAgent) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
porpagateUsersDispatcher
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
renameAccounts
@PermitAll public void renameAccounts(com.soffid.iam.api.System dispatcher) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
renameAccounts
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
setDefaultMappingsByDispatcher
@PermitAll public void setDefaultMappingsByDispatcher(Long dispatcherId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
setDefaultMappingsByDispatcher
in interfacecom.soffid.iam.service.ejb.DispatcherService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
ejbCreate
@PostConstruct public void ejbCreate() throws javax.ejb.CreateException
Initizlizes been- Overrides:
ejbCreate
in classorg.springframework.ejb.support.AbstractStatelessSessionBean
- Throws:
javax.ejb.CreateException
- See Also:
AbstractStatelessSessionBean.onEjbCreate()
-
onEjbCreate
protected void onEjbCreate()
- Specified by:
onEjbCreate
in classorg.springframework.ejb.support.AbstractStatelessSessionBean
-
setSessionContext
public void setSessionContext(javax.ejb.SessionContext sessionContext)
Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.- Specified by:
setSessionContext
in interfacejavax.ejb.SessionBean
- See Also:
SessionBean.setSessionContext(javax.ejb.SessionContext)
-
getSessionContext
public final javax.ejb.SessionContext getSessionContext()
- Specified by:
getSessionContext
in interfaceorg.springframework.ejb.support.SmartSessionBean
-
setBeanFactoryLocator
public void setBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
-
setBeanFactoryLocatorKey
public void setBeanFactoryLocatorKey(String arg0)
-
getBeanFactory
protected org.springframework.beans.factory.BeanFactory getBeanFactory()
-
ejbRemove
public void ejbRemove()
-
onEjbRemove
protected void onEjbRemove()
-
-