Package com.soffid.iam.service
Class NetworkServiceImpl
- java.lang.Object
-
- com.soffid.iam.service.NetworkServiceBase
-
- com.soffid.iam.service.NetworkServiceImpl
-
- All Implemented Interfaces:
com.soffid.iam.service.NetworkService
public class NetworkServiceImpl extends NetworkServiceBase
- See Also:
XarxaService
-
-
Field Summary
Fields Modifier and Type Field Description static int
ADMINISTRACIO
static int
CONSULTA
static int
LOGIN
static int
SENSE_PERMISOS
static int
SUPORT
-
Constructor Summary
Constructors Constructor Description NetworkServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createHostTask(HostEntity host)
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.Network>
doFindNetworkByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize, List<com.soffid.iam.api.Network> result, String[] primaryAttributes)
protected boolean
handleCanLogin(String user, String host)
protected com.soffid.iam.api.AdministratorAuthorizationToAccessHost
handleCreate(com.soffid.iam.api.AdministratorAuthorizationToAccessHost autoritzacioAccesComAdministrador)
protected com.soffid.iam.api.Host
handleCreate(com.soffid.iam.api.Host maquina)
protected com.soffid.iam.api.HostAlias
handleCreate(com.soffid.iam.api.HostAlias aliasMaquina)
protected com.soffid.iam.api.Network
handleCreate(com.soffid.iam.api.Network xarxa)
protected com.soffid.iam.api.NetworkAuthorization
handleCreate(com.soffid.iam.api.NetworkAuthorization accessList)
protected com.soffid.iam.api.OsType
handleCreate(com.soffid.iam.api.OsType osType)
protected void
handleDelete(com.soffid.iam.api.Host maquina)
protected void
handleDelete(com.soffid.iam.api.HostAlias aliasMaquina)
protected void
handleDelete(com.soffid.iam.api.Network xarxa)
protected void
handleDelete(com.soffid.iam.api.NetworkAuthorization accessList)
protected void
handleDelete(com.soffid.iam.api.OsType osType)
protected Long
handleFindAccessLevelByHostNameAndNetworkName(String nomMaquina, String codiXarxa)
protected List<com.soffid.iam.api.HostAlias>
handleFindAliasByHostName(String nomMaquina)
protected List<com.soffid.iam.api.NetworkAuthorization>
handleFindALLNetworkAuthorizationsByUserName(String codiUsuari)
protected List<com.soffid.iam.api.OsType>
handleFindAllOSTypes()
protected List<com.soffid.iam.api.AdministratorAuthorizationToAccessHost>
handleFindAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate(String nomHost, String dataPeticio, String dataCaducitat)
protected List<com.soffid.iam.api.Host>
handleFindHostByFilter(String nom, String sistemaOperatiu, String adreca, String dhcp, String correu, String ofimatica, String alias, String mac, String descripcio, String xarxa, String codiUsuari, Boolean filtra)
protected List<com.soffid.iam.api.Host>
handleFindHostByFilterUnrestricted(String nom, String sistemaOperatiu, String adreca, String dhcp, String correu, String ofimatica, String alias, String mac, String descripcio, String xarxa, String codiUsuari, Boolean filtra)
protected com.soffid.iam.api.Host
handleFindHostById(Long idMaquina)
protected com.soffid.iam.api.Host
handleFindHostByIp(String ip)
protected com.soffid.iam.api.Host
handleFindHostByName(String nom)
protected com.soffid.iam.api.Host
handleFindHostBySerialNumber(String serialNumber)
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.Host>
handleFindHostByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.Host>
handleFindHostByTextAndJsonQueryAsync(String text, String jsonQuery)
protected List<com.soffid.iam.api.Host>
handleFindHostsByNetwork(com.soffid.iam.api.Network xarxa)
protected List<com.soffid.iam.api.Host>
handleFindHostsByNetwork_Discovery(com.soffid.iam.api.Network parent, String text)
protected List<com.soffid.iam.api.Identity>
handleFindIdentitiesByName(String codi)
protected com.soffid.iam.api.Identity
handleFindIdentityByName(String codi)
protected List<com.soffid.iam.api.NetworkAuthorization>
handleFindNetworkAuthorizationsByGroupName(String codiGrup)
protected com.soffid.iam.api.NetworkAuthorization
handleFindNetworkAuthorizationsByNetworkNameAndIdentityName(String codiXarxa, String codiIdentitat)
protected List<com.soffid.iam.api.NetworkAuthorization>
handleFindNetworkAuthorizationsByRoleName(String nomRol)
protected List<com.soffid.iam.api.NetworkAuthorization>
handleFindNetworkAuthorizationsByUserName(String codiUsuari)
protected List<com.soffid.iam.api.Network>
handleFindNetworkByFilter(String codi, String adreca, String descripcio, String mascara, String normalitzada, String dhcp, String maquina)
protected com.soffid.iam.api.Network
handleFindNetworkByIpAddress(String ipAdress)
protected com.soffid.iam.api.Network
handleFindNetworkByName(String codi)
protected List<com.soffid.iam.api.Network>
handleFindNetworkByText_Discovery(String text)
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.Network>
handleFindNetworkByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.Network>
handleFindNetworkByTextAndJsonQueryAsync(String text, String jsonQuery)
protected List<com.soffid.iam.api.Host>
handleFindOfficeHostUserByFilter(String nom, String sistemaOperatiu, String adreca, String dhcp, String correu, String ofimatica, String alias, String mac, String descripcio, String xarxa, String codiUsuari, Boolean restringeixCerca, String servidorImpressores)
protected com.soffid.iam.api.OsType
handleFindOSTypeById(Long osId)
protected com.soffid.iam.api.OsType
handleFindOSTypeByName(String osName)
protected List<com.soffid.iam.api.Session>
handleFindSessionsByHostName(String nomMaquina)
protected com.soffid.iam.api.User
handleFindUsuariByIdSessio(Long idSessio)
protected List<com.soffid.iam.api.NetworkAuthorization>
handleGetACL(com.soffid.iam.api.Network xarxa)
protected Long
handleGetAvailableIPs(String codiXarxa)
protected String
handleGetFirstAvailableIP(String codiXarxa)
protected List<com.soffid.iam.api.Host>
handleGetHomeServers()
protected String[]
handleGetHostAdminUserAndPassword(String nomMaquina)
protected List<com.soffid.iam.api.Host>
handleGetHosts()
protected List<com.soffid.iam.api.Host>
handleGetMailServers()
protected List<com.soffid.iam.api.Network>
handleGetNetworks()
protected Long
handleGetNotAvailableIPs(String codiXarxa)
protected List<com.soffid.iam.api.Host>
handleGetProfileServers()
protected String[]
handleGetTasks(String nomMaquina)
protected Boolean
handleHasAnyACLNetworks(String codiUsuari)
protected Boolean
handleHasManagedNetwork()
protected Boolean
handleHasNetworkAccess(String codiUsuari, String codiXarxa)
protected Boolean
handleIsManaged(String codiXarxa)
protected Boolean
handleLaunchVNC(Long sessioId)
Lanzar el VNC contra la sesión indicada.protected com.soffid.iam.api.Host
handleRegisterDynamicIP(String nomMaquina, String ip, String serialNumber)
protected void
handleRevoke(com.soffid.iam.api.NetworkAuthorization xarxaAC)
protected com.soffid.iam.api.AdministratorAuthorizationToAccessHost
handleRevokeAdministratorAccessHost(com.soffid.iam.api.AdministratorAuthorizationToAccessHost autoritzacioAccesComAdministrador)
protected void
handleSetAdministratorPassword(String nomMaquina, String adminUser, String adminPass)
protected void
handleUpdate(com.soffid.iam.api.Host maquina)
protected void
handleUpdate(com.soffid.iam.api.HostAlias aliasMaquina)
protected void
handleUpdate(com.soffid.iam.api.Network xarxa)
protected com.soffid.iam.api.NetworkAuthorization
handleUpdate(com.soffid.iam.api.NetworkAuthorization accessList)
protected void
handleUpdate(com.soffid.iam.api.OsType osType)
-
Methods inherited from class com.soffid.iam.service.NetworkServiceBase
canLogin, create, create, create, create, create, create, delete, delete, delete, delete, delete, findAccessLevelByHostNameAndNetworkName, findAliasByHostName, findALLNetworkAuthorizationsByUserName, findAllOSTypes, findAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate, findHostByFilter, findHostByFilterUnrestricted, findHostById, findHostByIp, findHostByName, findHostBySerialNumber, findHostByTextAndJsonQuery, findHostByTextAndJsonQueryAsync, findHostsByNetwork, findHostsByNetwork_Discovery, findIdentitiesByName, findIdentityByName, findNetworkAuthorizationsByGroupName, findNetworkAuthorizationsByNetworkNameAndIdentityName, findNetworkAuthorizationsByRoleName, findNetworkAuthorizationsByUserName, findNetworkByFilter, findNetworkByIpAddress, findNetworkByName, findNetworkByText_Discovery, findNetworkByTextAndJsonQuery, findNetworkByTextAndJsonQueryAsync, findOfficeHostUserByFilter, findOSTypeById, findOSTypeByName, findSessionsByHostName, getAccessLogEntityDao, getACL, getApplicationService, getAsyncRunnerService, getAttributeValidationService, getAuditEntityDao, getAvailableIPs, getDispatcherService, getEntryPointEntityDao, getEntryPointService, getFirstAvailableIP, getGroupEntityDao, getGroupService, getHomeServers, getHostAdminEntityDao, getHostAdminUserAndPassword, getHostAliasEntityDao, getHostAttributeEntityDao, getHostEntityDao, getHostEntryPointEntityDao, getHosts, getHostSystemEntityDao, getMailServers, getMetaDataEntityDao, getNetworkAuthorizationEntityDao, getNetworkDiscoverRangeEntityDao, getNetworkEntityDao, getNetworks, getNotAvailableIPs, getOsTypeEntityDao, getPrincipal, getPrinterService, getProfileServers, getRoleEntityDao, getSessionEntityDao, getSystemEntityDao, getTaskEntityDao, getTasks, getUserEntityDao, getUserService, hasAnyACLNetworks, hasManagedNetwork, hasNetworkAccess, isManaged, launchVNC, registerDynamicIP, revokeAdministratorAccessHost, setAccessLogEntityDao, setAdministratorPassword, setApplicationService, setAsyncRunnerService, setAttributeValidationService, setAuditEntityDao, setDispatcherService, setEntryPointEntityDao, setEntryPointService, setGroupEntityDao, setGroupService, setHostAdminEntityDao, setHostAliasEntityDao, setHostAttributeEntityDao, setHostEntityDao, setHostEntryPointEntityDao, setHostSystemEntityDao, setMetaDataEntityDao, setNetworkAuthorizationEntityDao, setNetworkDiscoverRangeEntityDao, setNetworkEntityDao, setOsTypeEntityDao, setPrinterService, setRoleEntityDao, setSessionEntityDao, setSystemEntityDao, setTaskEntityDao, setUserEntityDao, setUserService, update, update, update, update, update
-
-
-
-
Field Detail
-
SENSE_PERMISOS
public static final int SENSE_PERMISOS
- See Also:
- Constant Field Values
-
CONSULTA
public static final int CONSULTA
- See Also:
- Constant Field Values
-
SUPORT
public static final int SUPORT
- See Also:
- Constant Field Values
-
ADMINISTRACIO
public static final int ADMINISTRACIO
- See Also:
- Constant Field Values
-
LOGIN
public static final int LOGIN
- See Also:
- Constant Field Values
-
-
Method Detail
-
handleHasManagedNetwork
protected Boolean handleHasManagedNetwork() throws Exception
- Specified by:
handleHasManagedNetwork
in classNetworkServiceBase
- Throws:
Exception
-
handleIsManaged
protected Boolean handleIsManaged(String codiXarxa) throws Exception
- Specified by:
handleIsManaged
in classNetworkServiceBase
- Throws:
Exception
-
handleFindSessionsByHostName
protected List<com.soffid.iam.api.Session> handleFindSessionsByHostName(String nomMaquina)
- Specified by:
handleFindSessionsByHostName
in classNetworkServiceBase
-
handleFindAccessLevelByHostNameAndNetworkName
protected Long handleFindAccessLevelByHostNameAndNetworkName(String nomMaquina, String codiXarxa) throws Exception
- Specified by:
handleFindAccessLevelByHostNameAndNetworkName
in classNetworkServiceBase
- Throws:
Exception
-
handleFindUsuariByIdSessio
protected com.soffid.iam.api.User handleFindUsuariByIdSessio(Long idSessio) throws Exception
- Throws:
Exception
-
handleHasNetworkAccess
protected Boolean handleHasNetworkAccess(String codiUsuari, String codiXarxa) throws Exception
- Specified by:
handleHasNetworkAccess
in classNetworkServiceBase
- Throws:
Exception
-
handleGetNetworks
protected List<com.soffid.iam.api.Network> handleGetNetworks() throws Exception
- Specified by:
handleGetNetworks
in classNetworkServiceBase
- Throws:
Exception
- See Also:
XarxaService.getXarxes()
-
handleCreate
protected com.soffid.iam.api.Network handleCreate(com.soffid.iam.api.Network xarxa) throws Exception
- Specified by:
handleCreate
in classNetworkServiceBase
- Throws:
Exception
- See Also:
XarxaService.create(es.caib.seycon.ng.comu.Xarxa)
-
handleUpdate
protected void handleUpdate(com.soffid.iam.api.Network xarxa) throws Exception
- Specified by:
handleUpdate
in classNetworkServiceBase
- Throws:
Exception
- See Also:
XarxaService.update(es.caib.seycon.ng.comu.Xarxa)
-
handleDelete
protected void handleDelete(com.soffid.iam.api.Network xarxa) throws Exception
- Specified by:
handleDelete
in classNetworkServiceBase
- Throws:
Exception
- See Also:
XarxaService.delete(es.caib.seycon.ng.comu.Xarxa)
-
handleRevoke
protected void handleRevoke(com.soffid.iam.api.NetworkAuthorization xarxaAC) throws Exception
- Throws:
Exception
- See Also:
es.caib.seycon.ng.servei.XarxaService#revoke(es.caib.seycon.ng.comu.XarxaAC)
-
handleGetACL
protected List<com.soffid.iam.api.NetworkAuthorization> handleGetACL(com.soffid.iam.api.Network xarxa) throws Exception
- Specified by:
handleGetACL
in classNetworkServiceBase
- Throws:
Exception
- See Also:
XarxaService.getACL(es.caib.seycon.ng.comu.Xarxa)
-
handleFindNetworkByName
protected com.soffid.iam.api.Network handleFindNetworkByName(String codi) throws Exception
- Specified by:
handleFindNetworkByName
in classNetworkServiceBase
- Throws:
Exception
- See Also:
XarxaService.findXarxaByCodi(String)
-
handleCreate
protected com.soffid.iam.api.Host handleCreate(com.soffid.iam.api.Host maquina) throws Exception
- Specified by:
handleCreate
in classNetworkServiceBase
- Throws:
Exception
- See Also:
XarxaService.create(es.caib.seycon.ng.comu.Maquina)
-
handleUpdate
protected void handleUpdate(com.soffid.iam.api.Host maquina) throws Exception
- Specified by:
handleUpdate
in classNetworkServiceBase
- Throws:
Exception
- See Also:
XarxaService.update(es.caib.seycon.ng.comu.Maquina)
-
handleDelete
protected void handleDelete(com.soffid.iam.api.Host maquina) throws Exception
- Specified by:
handleDelete
in classNetworkServiceBase
- Throws:
Exception
- See Also:
XarxaService.delete(es.caib.seycon.ng.comu.Maquina)
-
handleGetMailServers
protected List<com.soffid.iam.api.Host> handleGetMailServers() throws Exception
- Specified by:
handleGetMailServers
in classNetworkServiceBase
- Throws:
Exception
-
handleGetProfileServers
protected List<com.soffid.iam.api.Host> handleGetProfileServers() throws Exception
- Specified by:
handleGetProfileServers
in classNetworkServiceBase
- Throws:
Exception
-
handleGetHomeServers
protected List<com.soffid.iam.api.Host> handleGetHomeServers() throws Exception
- Specified by:
handleGetHomeServers
in classNetworkServiceBase
- Throws:
Exception
-
handleFindHostByName
protected com.soffid.iam.api.Host handleFindHostByName(String nom) throws Exception
- Specified by:
handleFindHostByName
in classNetworkServiceBase
- Throws:
Exception
-
handleFindNetworkByFilter
protected List<com.soffid.iam.api.Network> handleFindNetworkByFilter(String codi, String adreca, String descripcio, String mascara, String normalitzada, String dhcp, String maquina) throws Exception
- Specified by:
handleFindNetworkByFilter
in classNetworkServiceBase
- Throws:
Exception
-
handleGetHosts
protected List<com.soffid.iam.api.Host> handleGetHosts() throws Exception
- Specified by:
handleGetHosts
in classNetworkServiceBase
- Throws:
Exception
- See Also:
XarxaService.getMaquines()
-
handleFindHostsByNetwork
protected List<com.soffid.iam.api.Host> handleFindHostsByNetwork(com.soffid.iam.api.Network xarxa) throws Exception
- Specified by:
handleFindHostsByNetwork
in classNetworkServiceBase
- Throws:
Exception
- See Also:
es.caib.seycon.ng.servei.XarxaService#findMaquinaByXarxa(es.caib.seycon.ng.comu.Xarxa)
-
handleFindHostByFilterUnrestricted
protected List<com.soffid.iam.api.Host> handleFindHostByFilterUnrestricted(String nom, String sistemaOperatiu, String adreca, String dhcp, String correu, String ofimatica, String alias, String mac, String descripcio, String xarxa, String codiUsuari, Boolean filtra) throws Exception
- Specified by:
handleFindHostByFilterUnrestricted
in classNetworkServiceBase
- Throws:
Exception
-
handleFindHostByFilter
protected List<com.soffid.iam.api.Host> handleFindHostByFilter(String nom, String sistemaOperatiu, String adreca, String dhcp, String correu, String ofimatica, String alias, String mac, String descripcio, String xarxa, String codiUsuari, Boolean filtra) throws Exception
- Specified by:
handleFindHostByFilter
in classNetworkServiceBase
- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.NetworkAuthorization handleCreate(com.soffid.iam.api.NetworkAuthorization accessList) throws Exception
- Specified by:
handleCreate
in classNetworkServiceBase
- Throws:
Exception
-
handleDelete
protected void handleDelete(com.soffid.iam.api.NetworkAuthorization accessList) throws Exception
- Specified by:
handleDelete
in classNetworkServiceBase
- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.NetworkAuthorization handleUpdate(com.soffid.iam.api.NetworkAuthorization accessList) throws Exception
- Specified by:
handleUpdate
in classNetworkServiceBase
- Throws:
Exception
-
handleFindIdentitiesByName
protected List<com.soffid.iam.api.Identity> handleFindIdentitiesByName(String codi) throws Exception
- Specified by:
handleFindIdentitiesByName
in classNetworkServiceBase
- Throws:
Exception
-
handleFindIdentityByName
protected com.soffid.iam.api.Identity handleFindIdentityByName(String codi) throws Exception
- Specified by:
handleFindIdentityByName
in classNetworkServiceBase
- Throws:
Exception
-
handleFindNetworkAuthorizationsByNetworkNameAndIdentityName
protected com.soffid.iam.api.NetworkAuthorization handleFindNetworkAuthorizationsByNetworkNameAndIdentityName(String codiXarxa, String codiIdentitat) throws Exception
- Specified by:
handleFindNetworkAuthorizationsByNetworkNameAndIdentityName
in classNetworkServiceBase
- Throws:
Exception
-
handleFindNetworkAuthorizationsByGroupName
protected List<com.soffid.iam.api.NetworkAuthorization> handleFindNetworkAuthorizationsByGroupName(String codiGrup) throws Exception
- Specified by:
handleFindNetworkAuthorizationsByGroupName
in classNetworkServiceBase
- Throws:
Exception
-
handleFindALLNetworkAuthorizationsByUserName
protected List<com.soffid.iam.api.NetworkAuthorization> handleFindALLNetworkAuthorizationsByUserName(String codiUsuari) throws Exception
- Specified by:
handleFindALLNetworkAuthorizationsByUserName
in classNetworkServiceBase
- Throws:
Exception
-
handleFindNetworkAuthorizationsByUserName
protected List<com.soffid.iam.api.NetworkAuthorization> handleFindNetworkAuthorizationsByUserName(String codiUsuari) throws Exception
- Specified by:
handleFindNetworkAuthorizationsByUserName
in classNetworkServiceBase
- Throws:
Exception
-
handleFindNetworkAuthorizationsByRoleName
protected List<com.soffid.iam.api.NetworkAuthorization> handleFindNetworkAuthorizationsByRoleName(String nomRol) throws Exception
- Specified by:
handleFindNetworkAuthorizationsByRoleName
in classNetworkServiceBase
- Throws:
Exception
-
handleGetFirstAvailableIP
protected String handleGetFirstAvailableIP(String codiXarxa) throws Exception
- Specified by:
handleGetFirstAvailableIP
in classNetworkServiceBase
- Throws:
Exception
-
handleGetNotAvailableIPs
protected Long handleGetNotAvailableIPs(String codiXarxa) throws Exception
- Specified by:
handleGetNotAvailableIPs
in classNetworkServiceBase
- Throws:
Exception
-
handleGetAvailableIPs
protected Long handleGetAvailableIPs(String codiXarxa) throws Exception
- Specified by:
handleGetAvailableIPs
in classNetworkServiceBase
- Throws:
Exception
-
handleFindHostById
protected com.soffid.iam.api.Host handleFindHostById(Long idMaquina) throws Exception
- Specified by:
handleFindHostById
in classNetworkServiceBase
- Throws:
Exception
-
handleFindHostByIp
protected com.soffid.iam.api.Host handleFindHostByIp(String ip) throws Exception
- Specified by:
handleFindHostByIp
in classNetworkServiceBase
- Throws:
Exception
-
handleGetTasks
protected String[] handleGetTasks(String nomMaquina) throws Exception
- Specified by:
handleGetTasks
in classNetworkServiceBase
- Throws:
Exception
-
handleFindAliasByHostName
protected List<com.soffid.iam.api.HostAlias> handleFindAliasByHostName(String nomMaquina) throws Exception
- Specified by:
handleFindAliasByHostName
in classNetworkServiceBase
- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.HostAlias handleCreate(com.soffid.iam.api.HostAlias aliasMaquina) throws Exception
- Specified by:
handleCreate
in classNetworkServiceBase
- Throws:
Exception
-
handleDelete
protected void handleDelete(com.soffid.iam.api.HostAlias aliasMaquina) throws Exception
- Specified by:
handleDelete
in classNetworkServiceBase
- Throws:
Exception
-
handleUpdate
protected void handleUpdate(com.soffid.iam.api.HostAlias aliasMaquina) throws Exception
- Specified by:
handleUpdate
in classNetworkServiceBase
- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.AdministratorAuthorizationToAccessHost handleCreate(com.soffid.iam.api.AdministratorAuthorizationToAccessHost autoritzacioAccesComAdministrador) throws Exception
- Specified by:
handleCreate
in classNetworkServiceBase
- Throws:
Exception
-
handleFindAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate
protected List<com.soffid.iam.api.AdministratorAuthorizationToAccessHost> handleFindAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate(String nomHost, String dataPeticio, String dataCaducitat) throws Exception
- Specified by:
handleFindAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate
in classNetworkServiceBase
- Throws:
Exception
-
handleGetHostAdminUserAndPassword
protected String[] handleGetHostAdminUserAndPassword(String nomMaquina) throws Exception
- Specified by:
handleGetHostAdminUserAndPassword
in classNetworkServiceBase
- Throws:
Exception
-
handleFindOfficeHostUserByFilter
protected List<com.soffid.iam.api.Host> handleFindOfficeHostUserByFilter(String nom, String sistemaOperatiu, String adreca, String dhcp, String correu, String ofimatica, String alias, String mac, String descripcio, String xarxa, String codiUsuari, Boolean restringeixCerca, String servidorImpressores) throws Exception
- Specified by:
handleFindOfficeHostUserByFilter
in classNetworkServiceBase
- Throws:
Exception
-
handleLaunchVNC
protected Boolean handleLaunchVNC(Long sessioId) throws IOException, es.caib.seycon.util.TimedOutException, es.caib.seycon.ng.exception.InternalErrorException
Lanzar el VNC contra la sesión indicada. Se verificará que el usuario esté autorizado a lanzar capturas en la red asociada- Specified by:
handleLaunchVNC
in classNetworkServiceBase
- Parameters:
sessioId
- id de la sesión que se quiere capturar- Returns:
- true si el usuario acepta la captura de pantalla y teclado
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
- error en la configuración del servidores.caib.seycon.util.TimedOutException
- el usuario no ha respondido en el tiempo especificadoIOException
- error en la comunicación con el puesto de trabajo
-
handleHasAnyACLNetworks
protected Boolean handleHasAnyACLNetworks(String codiUsuari) throws Exception
- Specified by:
handleHasAnyACLNetworks
in classNetworkServiceBase
- Throws:
Exception
-
handleRevokeAdministratorAccessHost
protected com.soffid.iam.api.AdministratorAuthorizationToAccessHost handleRevokeAdministratorAccessHost(com.soffid.iam.api.AdministratorAuthorizationToAccessHost autoritzacioAccesComAdministrador) throws Exception
- Specified by:
handleRevokeAdministratorAccessHost
in classNetworkServiceBase
- Throws:
Exception
-
handleSetAdministratorPassword
protected void handleSetAdministratorPassword(String nomMaquina, String adminUser, String adminPass) throws Exception
- Specified by:
handleSetAdministratorPassword
in classNetworkServiceBase
- Throws:
Exception
-
handleFindHostBySerialNumber
protected com.soffid.iam.api.Host handleFindHostBySerialNumber(String serialNumber) throws Exception
- Specified by:
handleFindHostBySerialNumber
in classNetworkServiceBase
- Throws:
Exception
-
createHostTask
protected void createHostTask(HostEntity host)
-
handleRegisterDynamicIP
protected com.soffid.iam.api.Host handleRegisterDynamicIP(String nomMaquina, String ip, String serialNumber) throws es.caib.seycon.ng.exception.UnknownHostException, es.caib.seycon.ng.exception.UnknownNetworkException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
handleRegisterDynamicIP
in classNetworkServiceBase
- Throws:
es.caib.seycon.ng.exception.UnknownHostException
es.caib.seycon.ng.exception.UnknownNetworkException
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAllOSTypes
protected List<com.soffid.iam.api.OsType> handleFindAllOSTypes() throws Exception
- Specified by:
handleFindAllOSTypes
in classNetworkServiceBase
- Throws:
Exception
-
handleFindOSTypeById
protected com.soffid.iam.api.OsType handleFindOSTypeById(Long osId) throws Exception
- Specified by:
handleFindOSTypeById
in classNetworkServiceBase
- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.OsType handleCreate(com.soffid.iam.api.OsType osType) throws Exception
- Specified by:
handleCreate
in classNetworkServiceBase
- Throws:
Exception
-
handleDelete
protected void handleDelete(com.soffid.iam.api.OsType osType) throws Exception
- Specified by:
handleDelete
in classNetworkServiceBase
- Throws:
Exception
-
handleUpdate
protected void handleUpdate(com.soffid.iam.api.OsType osType) throws Exception
- Specified by:
handleUpdate
in classNetworkServiceBase
- Throws:
Exception
-
handleFindOSTypeByName
protected com.soffid.iam.api.OsType handleFindOSTypeByName(String osName) throws Exception
- Specified by:
handleFindOSTypeByName
in classNetworkServiceBase
- Throws:
Exception
-
handleFindNetworkByIpAddress
protected com.soffid.iam.api.Network handleFindNetworkByIpAddress(String ipAdress) throws Exception
- Specified by:
handleFindNetworkByIpAddress
in classNetworkServiceBase
- Throws:
Exception
-
handleFindHostByTextAndJsonQueryAsync
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.Host> handleFindHostByTextAndJsonQueryAsync(String text, String jsonQuery) throws Exception
- Specified by:
handleFindHostByTextAndJsonQueryAsync
in classNetworkServiceBase
- Throws:
Exception
-
handleFindNetworkByTextAndJsonQueryAsync
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.Network> handleFindNetworkByTextAndJsonQueryAsync(String text, String jsonQuery) throws Exception
- Specified by:
handleFindNetworkByTextAndJsonQueryAsync
in classNetworkServiceBase
- Throws:
Exception
-
doFindNetworkByTextAndJsonQuery
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.Network> doFindNetworkByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize, List<com.soffid.iam.api.Network> result, String[] primaryAttributes) throws es.caib.seycon.ng.exception.InternalErrorException, Exception, UnsupportedEncodingException, ClassNotFoundException, com.soffid.scimquery.EvalException, com.soffid.scimquery.parser.ParseException, com.soffid.scimquery.parser.TokenMgrError
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
Exception
UnsupportedEncodingException
ClassNotFoundException
com.soffid.scimquery.EvalException
com.soffid.scimquery.parser.ParseException
com.soffid.scimquery.parser.TokenMgrError
-
handleFindHostByTextAndJsonQuery
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.Host> handleFindHostByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws Exception
- Specified by:
handleFindHostByTextAndJsonQuery
in classNetworkServiceBase
- Throws:
Exception
-
handleFindNetworkByTextAndJsonQuery
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.Network> handleFindNetworkByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws Exception
- Specified by:
handleFindNetworkByTextAndJsonQuery
in classNetworkServiceBase
- Throws:
Exception
-
handleCanLogin
protected boolean handleCanLogin(String user, String host) throws Exception
- Specified by:
handleCanLogin
in classNetworkServiceBase
- Throws:
Exception
-
handleFindHostsByNetwork_Discovery
protected List<com.soffid.iam.api.Host> handleFindHostsByNetwork_Discovery(com.soffid.iam.api.Network parent, String text) throws Exception
- Specified by:
handleFindHostsByNetwork_Discovery
in classNetworkServiceBase
- Throws:
Exception
-
handleFindNetworkByText_Discovery
protected List<com.soffid.iam.api.Network> handleFindNetworkByText_Discovery(String text) throws Exception
- Specified by:
handleFindNetworkByText_Discovery
in classNetworkServiceBase
- Throws:
Exception
-
-