Package com.soffid.iam.sync.service
Interface SyncStatusService
public interface SyncStatusService
Service SyncStatusService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionassignTemporaryPermissions(String host, String accountName, String accountSystem, List<String> permissions) Operation assignTemporaryPermissionsvoidboostTask(long taskId) Operation boostTaskvoidcancelTask(long taskId) Operation cancelTaskvoidcheckConnectivity(String dispatcher) Operation checkConnectivitycheckPasswordSynchronizationStatus(String accountName, String serverName) Operation checkPasswordSynchronizationStatusvoidconfigureLog(String server, LogConfiguration config) Operation configureLogOperation findActiveDirectoryDomainscom.soffid.zkdb.api.PagedResult<LogFileEntry>findLogs(String server, LogConfiguration config, long firstRow, long numRows) Operation findLogsgetAccountPassword(String user, Long accountId) Operation getAccountPasswordgetAccountPassword(String user, Long accountId, AccountAccessLevelEnum level) Operation getAccountPassword Method user for SSO.getAccountSshKey(String user, Long accountId) Operation getAccountSshKeygetAccountSshKey(String user, Long accountId, AccountAccessLevelEnum level) Operation getAccountSshKey Method user for SSO.Operation getDBConnectionStatusbyte[]getMazingerRules(String user) Operation getMazingerRulesgetNativeObject(String dispatcher, SoffidObjectType type, String object1, String object2) Operation getNativeObjectOperation getServerAgentHostsURLgetServerLogs(String server) Operation getServerLogsgetSoffidObject(String dispatcher, SoffidObjectType type, String object1, String object2) Operation getSoffidObjectgetSyncAgentsInfo(String tenant) Operation getSyncAgentsInfogetSyncServerInfo(String tenant) Operation getSyncServerInfogetSyncServerInfo(String server, String tenant) Operation getSyncServerInfogetSyncServerStatus(String tenant) Operation getSyncServerStatusgetSyncServerStatus(String server, String tenant) Operation getSyncServerStatuscom.soffid.zkdb.api.PagedResult<SyncAgentTaskLog>getTasks(com.soffid.zkdb.api.Query q) Operation getTasksOperation getTasksGridOperation invoke Invokes a custom methodOperation reconcilevoidOperation reconfigureDispatchersvoidremoveTemporaryPermissions(String host, String accountName, String accountSystem, List<String> permissions) Operation removeTemporaryPermissionsvoidresendAccountPassword(Long accountId) Operation resendAccountPasswordvoidresendUserPassword(String user, String passwordDomain) Operation resendUserPasswordOperation resetAllServerresetServerAgents(String server) Operation resetServerAgentsvoidsetAccountPassword(String accountName, String serverName, Password password, boolean mustChange) Operation setAccountPasswordvoidsetAccountSshPrivateKey(String accountName, String serverName, Password privateKey) Operation setAccountSshPrivateKeyvoidOperation startScheduledTaskvoidOperation stopScheduledTaskString[]tailServerLog(String urlServer) Operation tailServerLogtestObjectMapping(Map<String, String> sentences, String dispatcher, SoffidObjectType type, String object1, String object2) Operation testObjectMappingtestPropagateObject(String dispatcher, SoffidObjectType type, String object1, String object2) Operation testPropagateObject
-
Field Details
-
REMOTE_PATH
- See Also:
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getTasksGrid
Operation getTasksGrid- Returns:
- Throws:
InternalErrorException
-
findLogs
com.soffid.zkdb.api.PagedResult<LogFileEntry> findLogs(String server, LogConfiguration config, long firstRow, long numRows) throws InternalErrorException Operation findLogs- Parameters:
server-config-firstRow-numRows-- Returns:
- Throws:
InternalErrorException
-
getTasks
com.soffid.zkdb.api.PagedResult<SyncAgentTaskLog> getTasks(com.soffid.zkdb.api.Query q) throws InternalErrorException Operation getTasks- Parameters:
q-- Returns:
- Throws:
InternalErrorException
-
getServerLogs
Operation getServerLogs- Parameters:
server-- Returns:
- Throws:
InternalErrorException
-
findActiveDirectoryDomains
Operation findActiveDirectoryDomains- Returns:
- Throws:
InternalErrorException
-
getMazingerRules
Operation getMazingerRules- Parameters:
user-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getAccountPassword
Password getAccountPassword(String user, Long accountId) throws InternalErrorException, InternalErrorException Operation getAccountPassword- Parameters:
user-accountId-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getAccountPassword
Password getAccountPassword(String user, Long accountId, AccountAccessLevelEnum level) throws InternalErrorException, InternalErrorException Operation getAccountPassword Method user for SSO. Provides the password if the user has the right access level on the account- Parameters:
user-accountId-level-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getAccountSshKey
Password getAccountSshKey(String user, Long accountId) throws InternalErrorException, InternalErrorException Operation getAccountSshKey- Parameters:
user-accountId-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getAccountSshKey
Password getAccountSshKey(String user, Long accountId, AccountAccessLevelEnum level) throws InternalErrorException, InternalErrorException Operation getAccountSshKey Method user for SSO. Provides the password if the user has the right access level on the account- Parameters:
user-accountId-level-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
checkPasswordSynchronizationStatus
PasswordValidation checkPasswordSynchronizationStatus(String accountName, String serverName) throws InternalErrorException, InternalErrorException Operation checkPasswordSynchronizationStatus- Parameters:
accountName-serverName-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
testPropagateObject
DebugTaskResults testPropagateObject(String dispatcher, SoffidObjectType type, String object1, String object2) throws InternalErrorException, InternalErrorException Operation testPropagateObject- Parameters:
dispatcher-type-object1-object2-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getNativeObject
GetObjectResults getNativeObject(String dispatcher, SoffidObjectType type, String object1, String object2) throws InternalErrorException Operation getNativeObject- Parameters:
dispatcher-type-object1-object2-- Returns:
- Throws:
InternalErrorException
-
getSoffidObject
GetObjectResults getSoffidObject(String dispatcher, SoffidObjectType type, String object1, String object2) throws InternalErrorException Operation getSoffidObject- Parameters:
dispatcher-type-object1-object2-- Returns:
- Throws:
InternalErrorException
-
reconcile
Operation reconcile- Parameters:
dispatcher-accountName-- Returns:
- Throws:
InternalErrorException
-
getSyncServerInfo
SyncServerInfo getSyncServerInfo(String tenant) throws InternalErrorException, InternalErrorException, IOException, InternalErrorException Operation getSyncServerInfo- Parameters:
tenant-- Returns:
- Throws:
InternalErrorExceptionInternalErrorExceptionIOExceptionInternalErrorException
-
getSyncServerInfo
SyncServerInfo getSyncServerInfo(String server, String tenant) throws InternalErrorException, InternalErrorException, IOException, InternalErrorException Operation getSyncServerInfo- Parameters:
server-tenant-- Returns:
- Throws:
InternalErrorExceptionInternalErrorExceptionIOExceptionInternalErrorException
-
getSyncServerStatus
SyncServerInfo getSyncServerStatus(String tenant) throws InternalErrorException, InternalErrorException, IOException, InternalErrorException Operation getSyncServerStatus- Parameters:
tenant-- Returns:
- Throws:
InternalErrorExceptionInternalErrorExceptionIOExceptionInternalErrorException
-
getSyncServerStatus
SyncServerInfo getSyncServerStatus(String server, String tenant) throws InternalErrorException, InternalErrorException, IOException, InternalErrorException Operation getSyncServerStatus- Parameters:
server-tenant-- Returns:
- Throws:
InternalErrorExceptionInternalErrorExceptionIOExceptionInternalErrorException
-
getDBConnectionStatus
String getDBConnectionStatus() throws InternalErrorException, InternalErrorException, IOException, InternalErrorExceptionOperation getDBConnectionStatus- Returns:
- Throws:
InternalErrorExceptionInternalErrorExceptionIOExceptionInternalErrorException
-
resetAllServer
String resetAllServer() throws InternalErrorException, InternalErrorException, IOException, InternalErrorExceptionOperation resetAllServer- Returns:
- Throws:
InternalErrorExceptionInternalErrorExceptionIOExceptionInternalErrorException
-
resetServerAgents
String resetServerAgents(String server) throws InternalErrorException, InternalErrorException, IOException, InternalErrorException Operation resetServerAgents- Parameters:
server-- Returns:
- Throws:
InternalErrorExceptionInternalErrorExceptionIOExceptionInternalErrorException
-
tailServerLog
Operation tailServerLog- Parameters:
urlServer-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getServerAgentHostsURL
Collection<SyncServerInfo> getServerAgentHostsURL() throws InternalErrorException, InternalErrorException, FileNotFoundException, IOException, InternalErrorExceptionOperation getServerAgentHostsURL -
getSyncAgentsInfo
Collection<AgentStatusInfo> getSyncAgentsInfo(String tenant) throws InternalErrorException, InternalErrorException, IOException, InternalErrorException Operation getSyncAgentsInfo- Parameters:
tenant-- Returns:
- Throws:
InternalErrorExceptionInternalErrorExceptionIOExceptionInternalErrorException
-
invoke
Collection<Map<String,Object>> invoke(String dispatcher, String verb, String object, Map<String, Object> attributes) throws InternalErrorException, InternalErrorExceptionOperation invoke Invokes a custom method- Parameters:
dispatcher-verb-object-attributes-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
assignTemporaryPermissions
List<String> assignTemporaryPermissions(String host, String accountName, String accountSystem, List<String> permissions) throws InternalErrorException Operation assignTemporaryPermissions- Parameters:
host-accountName-accountSystem-permissions-- Returns:
- Throws:
InternalErrorException
-
testObjectMapping
Map<String,Object> testObjectMapping(Map<String, String> sentences, String dispatcher, SoffidObjectType type, String object1, String object2) throws InternalErrorException, InternalErrorExceptionOperation testObjectMapping- Parameters:
sentences-dispatcher-type-object1-object2-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
boostTask
Operation boostTask- Parameters:
taskId-- Throws:
InternalErrorException
-
cancelTask
Operation cancelTask- Parameters:
taskId-- Throws:
InternalErrorException
-
checkConnectivity
Operation checkConnectivity- Parameters:
dispatcher-- Throws:
InternalErrorException
-
reconfigureDispatchers
void reconfigureDispatchers() throws InternalErrorException, InternalErrorException, IOException, InternalErrorExceptionOperation reconfigureDispatchers -
removeTemporaryPermissions
void removeTemporaryPermissions(String host, String accountName, String accountSystem, List<String> permissions) throws InternalErrorException Operation removeTemporaryPermissions- Parameters:
host-accountName-accountSystem-permissions-- Throws:
InternalErrorException
-
resendAccountPassword
Operation resendAccountPassword- Parameters:
accountId-- Throws:
InternalErrorExceptionInternalErrorException
-
resendUserPassword
void resendUserPassword(String user, String passwordDomain) throws InternalErrorException, InternalErrorException Operation resendUserPassword- Parameters:
user-passwordDomain-- Throws:
InternalErrorExceptionInternalErrorException
-
setAccountPassword
void setAccountPassword(String accountName, String serverName, Password password, boolean mustChange) throws InternalErrorException, InternalErrorException Operation setAccountPassword- Parameters:
accountName-serverName-password-mustChange-- Throws:
InternalErrorExceptionInternalErrorException
-
setAccountSshPrivateKey
void setAccountSshPrivateKey(String accountName, String serverName, Password privateKey) throws InternalErrorException, InternalErrorException Operation setAccountSshPrivateKey- Parameters:
accountName-serverName-privateKey-- Throws:
InternalErrorExceptionInternalErrorException
-
startScheduledTask
Operation startScheduledTask- Parameters:
t-- Throws:
InternalErrorException
-
stopScheduledTask
Operation stopScheduledTask- Parameters:
t-- Throws:
InternalErrorException
-
configureLog
Operation configureLog- Parameters:
server-config-- Throws:
InternalErrorException
-