Package com.soffid.iam.service
Interface NetworkDiscoveryService
-
public interface NetworkDiscoveryServiceService NetworkDiscoveryService
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HostServicecreateHostService(HostService service)Operation createHostService Method to register a manual host servicevoidcreateNetworkAccount(Network network, Account account)Operation createNetworkAccount Register account for network discoverySystemcreateSystemCandidate(Host host, String type, String userName, Password password, String instance)Operation createSystemCandidate Generates a candidate system definitonvoiddeleteHostService(HostService service)Operation deleteHostService Method to register a manual host servicevoiddisconnectSystemFromHost(Host host, System system)Operation disconnectSystemFromHost Removes a candidate system definitonvoidenableNetworkDiscoveryScheduledTask(Network network)Operation enableNetworkDiscoveryScheduledTask Enable network discoveryList<AccessTree>findHostEntryPoints(Host host)Operation findHostEntryPoints Gets the entry points for a hostList<HostPort>findHostPorts(Host host)Operation findHostPorts Gets the open ports for a hostList<HostService>findHostServices(Host host)Operation findHostServices Gets the account protected services for a hostList<System>findHostSystems(Host host)Operation findHostSystems Gets the account protected services for a hostList<Account>findNetworkAccount(Network network)Operation findNetworkAccount Retrieves account for network discoveryScheduledTaskfindNetworkDiscoveryScheduledTask(Network network)Operation findNetworkDiscoveryScheduledTask Internal method to get the discovery scheduleList<Host>findSystemHosts(System system)Operation findSystemHosts Gets the account protected services for a hostvoidregisterHostEntryPoint(Host host, AccessTree entryPoint)Operation registerHostEntryPoint Method to register an entry pointvoidregisterHostPorts(Host host, List<HostPort> ports)Operation registerHostPorts Internal method to register the host open portsvoidregisterHostServices(Host host, System dispatcher, List<HostService> services, Map<String,String> domainToSystemMap)Operation registerHostServices Internal method to register the account protected servicesvoidregisterHostSystem(Host host, System system)Operation registerHostSystem Method to register a accounts repositoryvoidremoveNetworkAccount(Network network, Account account)Operation removeNetworkAccount Removes account for network discoveryvoidstartDiscovery(Network network)Operation startDiscovery Internal method to scan a networkHostServiceupdateHostService(HostService service)Operation updateHostService Method to register a manual host service
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
createHostService
HostService createHostService(HostService service) throws InternalErrorException
Operation createHostService Method to register a manual host service- Parameters:
service-- Returns:
- Throws:
InternalErrorException
-
updateHostService
HostService updateHostService(HostService service) throws InternalErrorException
Operation updateHostService Method to register a manual host service- Parameters:
service-- Returns:
- Throws:
InternalErrorException
-
findNetworkDiscoveryScheduledTask
ScheduledTask findNetworkDiscoveryScheduledTask(Network network) throws InternalErrorException
Operation findNetworkDiscoveryScheduledTask Internal method to get the discovery schedule- Parameters:
network-- Returns:
- Throws:
InternalErrorException
-
createSystemCandidate
System createSystemCandidate(Host host, String type, String userName, Password password, String instance) throws InternalErrorException
Operation createSystemCandidate Generates a candidate system definiton- Parameters:
host-type-userName-password-instance-- Returns:
- Throws:
InternalErrorException
-
findHostEntryPoints
List<AccessTree> findHostEntryPoints(Host host) throws InternalErrorException
Operation findHostEntryPoints Gets the entry points for a host- Parameters:
host-- Returns:
- Throws:
InternalErrorException
-
findHostPorts
List<HostPort> findHostPorts(Host host) throws InternalErrorException
Operation findHostPorts Gets the open ports for a host- Parameters:
host-- Returns:
- Throws:
InternalErrorException
-
findHostServices
List<HostService> findHostServices(Host host) throws InternalErrorException
Operation findHostServices Gets the account protected services for a host- Parameters:
host-- Returns:
- Throws:
InternalErrorException
-
findHostSystems
List<System> findHostSystems(Host host) throws InternalErrorException
Operation findHostSystems Gets the account protected services for a host- Parameters:
host-- Returns:
- Throws:
InternalErrorException
-
findNetworkAccount
List<Account> findNetworkAccount(Network network) throws InternalErrorException
Operation findNetworkAccount Retrieves account for network discovery- Parameters:
network-- Returns:
- Throws:
InternalErrorException
-
findSystemHosts
List<Host> findSystemHosts(System system) throws InternalErrorException
Operation findSystemHosts Gets the account protected services for a host- Parameters:
system-- Returns:
- Throws:
InternalErrorException
-
createNetworkAccount
void createNetworkAccount(Network network, Account account) throws InternalErrorException
Operation createNetworkAccount Register account for network discovery- Parameters:
network-account-- Throws:
InternalErrorException
-
deleteHostService
void deleteHostService(HostService service) throws InternalErrorException
Operation deleteHostService Method to register a manual host service- Parameters:
service-- Throws:
InternalErrorException
-
disconnectSystemFromHost
void disconnectSystemFromHost(Host host, System system) throws InternalErrorException
Operation disconnectSystemFromHost Removes a candidate system definiton- Parameters:
host-system-- Throws:
InternalErrorException
-
enableNetworkDiscoveryScheduledTask
void enableNetworkDiscoveryScheduledTask(Network network) throws InternalErrorException
Operation enableNetworkDiscoveryScheduledTask Enable network discovery- Parameters:
network-- Throws:
InternalErrorException
-
registerHostEntryPoint
void registerHostEntryPoint(Host host, AccessTree entryPoint) throws InternalErrorException
Operation registerHostEntryPoint Method to register an entry point- Parameters:
host-entryPoint-- Throws:
InternalErrorException
-
registerHostPorts
void registerHostPorts(Host host, List<HostPort> ports) throws InternalErrorException
Operation registerHostPorts Internal method to register the host open ports- Parameters:
host-ports-- Throws:
InternalErrorException
-
registerHostServices
void registerHostServices(Host host, System dispatcher, List<HostService> services, Map<String,String> domainToSystemMap) throws InternalErrorException
Operation registerHostServices Internal method to register the account protected services- Parameters:
host-dispatcher-services-domainToSystemMap-- Throws:
InternalErrorException
-
registerHostSystem
void registerHostSystem(Host host, System system) throws InternalErrorException
Operation registerHostSystem Method to register a accounts repository- Parameters:
host-system-- Throws:
InternalErrorException
-
removeNetworkAccount
void removeNetworkAccount(Network network, Account account) throws InternalErrorException
Operation removeNetworkAccount Removes account for network discovery- Parameters:
network-account-- Throws:
InternalErrorException
-
startDiscovery
void startDiscovery(Network network) throws InternalErrorException
Operation startDiscovery Internal method to scan a network- Parameters:
network-- Throws:
InternalErrorException
-
-