Package com.soffid.iam.service
Class NetworkDiscoveryServiceBase
- java.lang.Object
-
- com.soffid.iam.service.NetworkDiscoveryServiceBase
-
- All Implemented Interfaces:
com.soffid.iam.service.NetworkDiscoveryService
- Direct Known Subclasses:
NetworkDiscoveryServiceImpl
public abstract class NetworkDiscoveryServiceBase extends Object implements com.soffid.iam.service.NetworkDiscoveryService
Spring Service base class for
see com.soffid.iam.service.NetworkDiscoveryServicecom.soffid.iam.service.NetworkDiscoveryService
, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description NetworkDiscoveryServiceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.api.HostService
createHostService(com.soffid.iam.api.HostService service)
void
createNetworkAccount(com.soffid.iam.api.Network network, com.soffid.iam.api.Account account)
com.soffid.iam.api.System
createSystemCandidate(com.soffid.iam.api.Host host, String type, String userName, com.soffid.iam.api.Password password, String instance)
void
deleteHostService(com.soffid.iam.api.HostService service)
void
disconnectSystemFromHost(com.soffid.iam.api.Host host, com.soffid.iam.api.System system)
void
enableNetworkDiscoveryScheduledTask(com.soffid.iam.api.Network network)
List<com.soffid.iam.api.AccessTree>
findHostEntryPoints(com.soffid.iam.api.Host host)
List<com.soffid.iam.api.HostPort>
findHostPorts(com.soffid.iam.api.Host host)
List<com.soffid.iam.api.HostService>
findHostServices(com.soffid.iam.api.Host host)
List<com.soffid.iam.api.System>
findHostSystems(com.soffid.iam.api.Host host)
List<com.soffid.iam.api.Account>
findNetworkAccount(com.soffid.iam.api.Network network)
com.soffid.iam.api.ScheduledTask
findNetworkDiscoveryScheduledTask(com.soffid.iam.api.Network network)
List<com.soffid.iam.api.Host>
findSystemHosts(com.soffid.iam.api.System system)
AccountEntityDao
getAccountEntityDao()
Gets reference toaccountEntityDao
.com.soffid.iam.service.DispatcherService
getDispatcherService()
Gets reference todispatcherService
.EntryPointEntityDao
getEntryPointEntityDao()
Gets reference topuntEntradaEntityDao
.com.soffid.iam.service.EntryPointService
getEntryPointService()
Gets reference topuntEntradaService
.HostEntityDao
getHostEntityDao()
Gets reference tomaquinaEntityDao
.HostEntryPointEntityDao
getHostEntryPointEntityDao()
Gets reference tohostEntryPointEntityDao
.HostPortEntityDao
getHostPortEntityDao()
Gets reference tohostPortEntityDao
.HostServiceEntityDao
getHostServiceEntityDao()
Gets reference tohostServiceEntityDao
.HostSystemEntityDao
getHostSystemEntityDao()
Gets reference tohostSystemEntityDao
.NetworkDiscoveryAccountEntityDao
getNetworkDiscoveryAccountEntityDao()
Gets reference tonetworkDiscoveryAccountEntityDao
.NetworkEntityDao
getNetworkEntityDao()
Gets reference toxarxaEntityDao
.com.soffid.iam.service.NetworkService
getNetworkService()
Gets reference toxarxaService
.protected Principal
getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.com.soffid.iam.service.ScheduledTaskService
getScheduledTaskService()
Gets reference toscheduledTaskService
.com.soffid.iam.sync.service.SyncStatusService
getSyncStatusService()
Gets reference tosyncStatusService
.SystemEntityDao
getSystemEntityDao()
Gets reference todispatcherEntityDao
.com.soffid.iam.service.UserDomainService
getUserDomainService()
Gets reference todominiUsuariService
.protected abstract com.soffid.iam.api.HostService
handleCreateHostService(com.soffid.iam.api.HostService service)
protected abstract void
handleCreateNetworkAccount(com.soffid.iam.api.Network network, com.soffid.iam.api.Account account)
protected abstract com.soffid.iam.api.System
handleCreateSystemCandidate(com.soffid.iam.api.Host host, String type, String userName, com.soffid.iam.api.Password password, String instance)
protected abstract void
handleDeleteHostService(com.soffid.iam.api.HostService service)
protected abstract void
handleDisconnectSystemFromHost(com.soffid.iam.api.Host host, com.soffid.iam.api.System system)
protected abstract void
handleEnableNetworkDiscoveryScheduledTask(com.soffid.iam.api.Network network)
protected abstract List<com.soffid.iam.api.AccessTree>
handleFindHostEntryPoints(com.soffid.iam.api.Host host)
protected abstract List<com.soffid.iam.api.HostPort>
handleFindHostPorts(com.soffid.iam.api.Host host)
protected abstract List<com.soffid.iam.api.HostService>
handleFindHostServices(com.soffid.iam.api.Host host)
protected abstract List<com.soffid.iam.api.System>
handleFindHostSystems(com.soffid.iam.api.Host host)
protected abstract List<com.soffid.iam.api.Account>
handleFindNetworkAccount(com.soffid.iam.api.Network network)
protected abstract com.soffid.iam.api.ScheduledTask
handleFindNetworkDiscoveryScheduledTask(com.soffid.iam.api.Network network)
protected abstract List<com.soffid.iam.api.Host>
handleFindSystemHosts(com.soffid.iam.api.System system)
protected abstract void
handleRegisterHostEntryPoint(com.soffid.iam.api.Host host, com.soffid.iam.api.AccessTree entryPoint)
protected abstract void
handleRegisterHostPorts(com.soffid.iam.api.Host host, List<com.soffid.iam.api.HostPort> ports)
protected abstract void
handleRegisterHostServices(com.soffid.iam.api.Host host, com.soffid.iam.api.System dispatcher, List<com.soffid.iam.api.HostService> services, Map<String,String> domainToSystemMap)
protected abstract void
handleRegisterHostSystem(com.soffid.iam.api.Host host, com.soffid.iam.api.System system)
protected abstract void
handleRemoveNetworkAccount(com.soffid.iam.api.Network network, com.soffid.iam.api.Account account)
protected abstract void
handleStartDiscovery(com.soffid.iam.api.Network network)
protected abstract com.soffid.iam.api.HostService
handleUpdateHostService(com.soffid.iam.api.HostService service)
void
registerHostEntryPoint(com.soffid.iam.api.Host host, com.soffid.iam.api.AccessTree entryPoint)
void
registerHostPorts(com.soffid.iam.api.Host host, List<com.soffid.iam.api.HostPort> ports)
void
registerHostServices(com.soffid.iam.api.Host host, com.soffid.iam.api.System dispatcher, List<com.soffid.iam.api.HostService> services, Map<String,String> domainToSystemMap)
void
registerHostSystem(com.soffid.iam.api.Host host, com.soffid.iam.api.System system)
void
removeNetworkAccount(com.soffid.iam.api.Network network, com.soffid.iam.api.Account account)
void
setAccountEntityDao(AccountEntityDao accountEntityDao)
Sets reference toaccountEntityDao
.void
setDispatcherService(com.soffid.iam.service.DispatcherService dispatcherService)
Sets reference todispatcherService
.void
setEntryPointEntityDao(EntryPointEntityDao puntEntradaEntityDao)
Sets reference topuntEntradaEntityDao
.void
setEntryPointService(com.soffid.iam.service.EntryPointService puntEntradaService)
Sets reference topuntEntradaService
.void
setHostEntityDao(HostEntityDao maquinaEntityDao)
Sets reference tomaquinaEntityDao
.void
setHostEntryPointEntityDao(HostEntryPointEntityDao hostEntryPointEntityDao)
Sets reference tohostEntryPointEntityDao
.void
setHostPortEntityDao(HostPortEntityDao hostPortEntityDao)
Sets reference tohostPortEntityDao
.void
setHostServiceEntityDao(HostServiceEntityDao hostServiceEntityDao)
Sets reference tohostServiceEntityDao
.void
setHostSystemEntityDao(HostSystemEntityDao hostSystemEntityDao)
Sets reference tohostSystemEntityDao
.void
setNetworkDiscoveryAccountEntityDao(NetworkDiscoveryAccountEntityDao networkDiscoveryAccountEntityDao)
Sets reference tonetworkDiscoveryAccountEntityDao
.void
setNetworkEntityDao(NetworkEntityDao xarxaEntityDao)
Sets reference toxarxaEntityDao
.void
setNetworkService(com.soffid.iam.service.NetworkService xarxaService)
Sets reference toxarxaService
.void
setScheduledTaskService(com.soffid.iam.service.ScheduledTaskService scheduledTaskService)
Sets reference toscheduledTaskService
.void
setSyncStatusService(com.soffid.iam.sync.service.SyncStatusService syncStatusService)
Sets reference tosyncStatusService
.void
setSystemEntityDao(SystemEntityDao dispatcherEntityDao)
Sets reference todispatcherEntityDao
.void
setUserDomainService(com.soffid.iam.service.UserDomainService dominiUsuariService)
Sets reference todominiUsuariService
.void
startDiscovery(com.soffid.iam.api.Network network)
com.soffid.iam.api.HostService
updateHostService(com.soffid.iam.api.HostService service)
-
-
-
Method Detail
-
setAccountEntityDao
public void setAccountEntityDao(AccountEntityDao accountEntityDao)
Sets reference toaccountEntityDao
.
-
getAccountEntityDao
public AccountEntityDao getAccountEntityDao()
Gets reference toaccountEntityDao
.
-
setSystemEntityDao
public void setSystemEntityDao(SystemEntityDao dispatcherEntityDao)
Sets reference todispatcherEntityDao
.
-
getSystemEntityDao
public SystemEntityDao getSystemEntityDao()
Gets reference todispatcherEntityDao
.
-
setDispatcherService
public void setDispatcherService(com.soffid.iam.service.DispatcherService dispatcherService)
Sets reference todispatcherService
.
-
getDispatcherService
public com.soffid.iam.service.DispatcherService getDispatcherService()
Gets reference todispatcherService
.
-
setUserDomainService
public void setUserDomainService(com.soffid.iam.service.UserDomainService dominiUsuariService)
Sets reference todominiUsuariService
.
-
getUserDomainService
public com.soffid.iam.service.UserDomainService getUserDomainService()
Gets reference todominiUsuariService
.
-
setHostEntryPointEntityDao
public void setHostEntryPointEntityDao(HostEntryPointEntityDao hostEntryPointEntityDao)
Sets reference tohostEntryPointEntityDao
.
-
getHostEntryPointEntityDao
public HostEntryPointEntityDao getHostEntryPointEntityDao()
Gets reference tohostEntryPointEntityDao
.
-
setHostPortEntityDao
public void setHostPortEntityDao(HostPortEntityDao hostPortEntityDao)
Sets reference tohostPortEntityDao
.
-
getHostPortEntityDao
public HostPortEntityDao getHostPortEntityDao()
Gets reference tohostPortEntityDao
.
-
setHostServiceEntityDao
public void setHostServiceEntityDao(HostServiceEntityDao hostServiceEntityDao)
Sets reference tohostServiceEntityDao
.
-
getHostServiceEntityDao
public HostServiceEntityDao getHostServiceEntityDao()
Gets reference tohostServiceEntityDao
.
-
setHostSystemEntityDao
public void setHostSystemEntityDao(HostSystemEntityDao hostSystemEntityDao)
Sets reference tohostSystemEntityDao
.
-
getHostSystemEntityDao
public HostSystemEntityDao getHostSystemEntityDao()
Gets reference tohostSystemEntityDao
.
-
setHostEntityDao
public void setHostEntityDao(HostEntityDao maquinaEntityDao)
Sets reference tomaquinaEntityDao
.
-
getHostEntityDao
public HostEntityDao getHostEntityDao()
Gets reference tomaquinaEntityDao
.
-
setNetworkDiscoveryAccountEntityDao
public void setNetworkDiscoveryAccountEntityDao(NetworkDiscoveryAccountEntityDao networkDiscoveryAccountEntityDao)
Sets reference tonetworkDiscoveryAccountEntityDao
.
-
getNetworkDiscoveryAccountEntityDao
public NetworkDiscoveryAccountEntityDao getNetworkDiscoveryAccountEntityDao()
Gets reference tonetworkDiscoveryAccountEntityDao
.
-
setEntryPointEntityDao
public void setEntryPointEntityDao(EntryPointEntityDao puntEntradaEntityDao)
Sets reference topuntEntradaEntityDao
.
-
getEntryPointEntityDao
public EntryPointEntityDao getEntryPointEntityDao()
Gets reference topuntEntradaEntityDao
.
-
setEntryPointService
public void setEntryPointService(com.soffid.iam.service.EntryPointService puntEntradaService)
Sets reference topuntEntradaService
.
-
getEntryPointService
public com.soffid.iam.service.EntryPointService getEntryPointService()
Gets reference topuntEntradaService
.
-
setScheduledTaskService
public void setScheduledTaskService(com.soffid.iam.service.ScheduledTaskService scheduledTaskService)
Sets reference toscheduledTaskService
.
-
getScheduledTaskService
public com.soffid.iam.service.ScheduledTaskService getScheduledTaskService()
Gets reference toscheduledTaskService
.
-
setSyncStatusService
public void setSyncStatusService(com.soffid.iam.sync.service.SyncStatusService syncStatusService)
Sets reference tosyncStatusService
.
-
getSyncStatusService
public com.soffid.iam.sync.service.SyncStatusService getSyncStatusService()
Gets reference tosyncStatusService
.
-
setNetworkEntityDao
public void setNetworkEntityDao(NetworkEntityDao xarxaEntityDao)
Sets reference toxarxaEntityDao
.
-
getNetworkEntityDao
public NetworkEntityDao getNetworkEntityDao()
Gets reference toxarxaEntityDao
.
-
setNetworkService
public void setNetworkService(com.soffid.iam.service.NetworkService xarxaService)
Sets reference toxarxaService
.
-
getNetworkService
public com.soffid.iam.service.NetworkService getNetworkService()
Gets reference toxarxaService
.
-
createHostService
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.HostService createHostService(com.soffid.iam.api.HostService service) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
createHostService
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCreateHostService
protected abstract com.soffid.iam.api.HostService handleCreateHostService(com.soffid.iam.api.HostService service) throws Exception
- Throws:
Exception
-
updateHostService
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.HostService updateHostService(com.soffid.iam.api.HostService service) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updateHostService
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdateHostService
protected abstract com.soffid.iam.api.HostService handleUpdateHostService(com.soffid.iam.api.HostService service) throws Exception
- Throws:
Exception
-
findNetworkDiscoveryScheduledTask
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.ScheduledTask findNetworkDiscoveryScheduledTask(com.soffid.iam.api.Network network) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findNetworkDiscoveryScheduledTask
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindNetworkDiscoveryScheduledTask
protected abstract com.soffid.iam.api.ScheduledTask handleFindNetworkDiscoveryScheduledTask(com.soffid.iam.api.Network network) throws Exception
- Throws:
Exception
-
createSystemCandidate
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.System createSystemCandidate(com.soffid.iam.api.Host host, String type, String userName, com.soffid.iam.api.Password password, String instance) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
createSystemCandidate
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCreateSystemCandidate
protected abstract com.soffid.iam.api.System handleCreateSystemCandidate(com.soffid.iam.api.Host host, String type, String userName, com.soffid.iam.api.Password password, String instance) throws Exception
- Throws:
Exception
-
findHostEntryPoints
@Transactional(rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.api.AccessTree> findHostEntryPoints(com.soffid.iam.api.Host host) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findHostEntryPoints
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindHostEntryPoints
protected abstract List<com.soffid.iam.api.AccessTree> handleFindHostEntryPoints(com.soffid.iam.api.Host host) throws Exception
- Throws:
Exception
-
findHostPorts
@Transactional(rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.api.HostPort> findHostPorts(com.soffid.iam.api.Host host) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findHostPorts
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindHostPorts
protected abstract List<com.soffid.iam.api.HostPort> handleFindHostPorts(com.soffid.iam.api.Host host) throws Exception
- Throws:
Exception
-
findHostServices
@Transactional(rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.api.HostService> findHostServices(com.soffid.iam.api.Host host) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findHostServices
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindHostServices
protected abstract List<com.soffid.iam.api.HostService> handleFindHostServices(com.soffid.iam.api.Host host) throws Exception
- Throws:
Exception
-
findHostSystems
@Transactional(rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.api.System> findHostSystems(com.soffid.iam.api.Host host) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findHostSystems
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindHostSystems
protected abstract List<com.soffid.iam.api.System> handleFindHostSystems(com.soffid.iam.api.Host host) throws Exception
- Throws:
Exception
-
findNetworkAccount
@Transactional(rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.api.Account> findNetworkAccount(com.soffid.iam.api.Network network) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findNetworkAccount
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindNetworkAccount
protected abstract List<com.soffid.iam.api.Account> handleFindNetworkAccount(com.soffid.iam.api.Network network) throws Exception
- Throws:
Exception
-
findSystemHosts
@Transactional(rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.api.Host> findSystemHosts(com.soffid.iam.api.System system) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findSystemHosts
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindSystemHosts
protected abstract List<com.soffid.iam.api.Host> handleFindSystemHosts(com.soffid.iam.api.System system) throws Exception
- Throws:
Exception
-
createNetworkAccount
@Transactional(rollbackFor=java.lang.Exception.class) public void createNetworkAccount(com.soffid.iam.api.Network network, com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
createNetworkAccount
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCreateNetworkAccount
protected abstract void handleCreateNetworkAccount(com.soffid.iam.api.Network network, com.soffid.iam.api.Account account) throws Exception
- Throws:
Exception
-
deleteHostService
@Transactional(rollbackFor=java.lang.Exception.class) public void deleteHostService(com.soffid.iam.api.HostService service) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
deleteHostService
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleDeleteHostService
protected abstract void handleDeleteHostService(com.soffid.iam.api.HostService service) throws Exception
- Throws:
Exception
-
disconnectSystemFromHost
@Transactional(rollbackFor=java.lang.Exception.class) public void disconnectSystemFromHost(com.soffid.iam.api.Host host, com.soffid.iam.api.System system) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
disconnectSystemFromHost
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleDisconnectSystemFromHost
protected abstract void handleDisconnectSystemFromHost(com.soffid.iam.api.Host host, com.soffid.iam.api.System system) throws Exception
- Throws:
Exception
-
enableNetworkDiscoveryScheduledTask
@Transactional(rollbackFor=java.lang.Exception.class) public void enableNetworkDiscoveryScheduledTask(com.soffid.iam.api.Network network) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
enableNetworkDiscoveryScheduledTask
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleEnableNetworkDiscoveryScheduledTask
protected abstract void handleEnableNetworkDiscoveryScheduledTask(com.soffid.iam.api.Network network) throws Exception
- Throws:
Exception
-
registerHostEntryPoint
@Transactional(rollbackFor=java.lang.Exception.class) public void registerHostEntryPoint(com.soffid.iam.api.Host host, com.soffid.iam.api.AccessTree entryPoint) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
registerHostEntryPoint
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleRegisterHostEntryPoint
protected abstract void handleRegisterHostEntryPoint(com.soffid.iam.api.Host host, com.soffid.iam.api.AccessTree entryPoint) throws Exception
- Throws:
Exception
-
registerHostPorts
@Transactional(rollbackFor=java.lang.Exception.class) public void registerHostPorts(com.soffid.iam.api.Host host, List<com.soffid.iam.api.HostPort> ports) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
registerHostPorts
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleRegisterHostPorts
protected abstract void handleRegisterHostPorts(com.soffid.iam.api.Host host, List<com.soffid.iam.api.HostPort> ports) throws Exception
- Throws:
Exception
-
registerHostServices
@Transactional(rollbackFor=java.lang.Exception.class) public void registerHostServices(com.soffid.iam.api.Host host, com.soffid.iam.api.System dispatcher, List<com.soffid.iam.api.HostService> services, Map<String,String> domainToSystemMap) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
registerHostServices
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleRegisterHostServices
protected abstract void handleRegisterHostServices(com.soffid.iam.api.Host host, com.soffid.iam.api.System dispatcher, List<com.soffid.iam.api.HostService> services, Map<String,String> domainToSystemMap) throws Exception
- Throws:
Exception
-
registerHostSystem
@Transactional(rollbackFor=java.lang.Exception.class) public void registerHostSystem(com.soffid.iam.api.Host host, com.soffid.iam.api.System system) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
registerHostSystem
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleRegisterHostSystem
protected abstract void handleRegisterHostSystem(com.soffid.iam.api.Host host, com.soffid.iam.api.System system) throws Exception
- Throws:
Exception
-
removeNetworkAccount
@Transactional(rollbackFor=java.lang.Exception.class) public void removeNetworkAccount(com.soffid.iam.api.Network network, com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
removeNetworkAccount
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleRemoveNetworkAccount
protected abstract void handleRemoveNetworkAccount(com.soffid.iam.api.Network network, com.soffid.iam.api.Account account) throws Exception
- Throws:
Exception
-
startDiscovery
@Transactional(rollbackFor=java.lang.Exception.class) public void startDiscovery(com.soffid.iam.api.Network network) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
startDiscovery
in interfacecom.soffid.iam.service.NetworkDiscoveryService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleStartDiscovery
protected abstract void handleStartDiscovery(com.soffid.iam.api.Network network) throws Exception
- Throws:
Exception
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.- Returns:
- the current principal
-
-