Package com.soffid.iam.config
Class Config
java.lang.Object
com.soffid.iam.config.Config
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionbooleancanUpdateComponent(String component) static voidconfigureClient(String serverList, String port) static ConfiggetDB()getPort()getRole()String[]getURL()static booleanbooleanbooleanisAgent()booleanbooleanbooleanisDebug()booleanbooleanbooleanisServer()booleanbooleanvoidmergeProperties(Properties newProp) intvoidreload()voidsetBackupDB(String list) voidsetBackupDbUser(String list) voidsetBackupPassword(Password list) voidsetCustomProperty(String s, String v) voidvoidvoidsetHostName(String list) voidsetPassword(Password list) voidvoidsetRequestId(String value) voidsetRMIEnabled(boolean enabled) voidvoidsetServerList(String list) voidsetServerService(ServerService server) voidvoid
-
Field Details
-
PORT_PROPERTY
- See Also:
-
LOCAL_PORT_PROPERTY
- See Also:
-
DB_PROPERTY
- See Also:
-
BACKUPDB_PROPERTY
- See Also:
-
BACKUP_PASSWORD_PROPERTY
- See Also:
-
BACKUPUSER_PROPERTY
- See Also:
-
PASSWORD_PROPERTY
- See Also:
-
ROL_PROPERTY
- See Also:
-
JAVA_OPT_PROPERTY
- See Also:
-
USER_PROPERTY
- See Also:
-
SEYCON_SERVER_STANDBY_PROPERTY
- See Also:
-
AUTOUPDATE_PROPERTY
- See Also:
-
SERVERLIST_PROPERTY
- See Also:
-
URL_PROPERTY
- See Also:
-
port
-
-
Method Details
-
updateFromServer
- Throws:
IOExceptionInternalErrorException
-
mergeProperties
- Throws:
IOException
-
reload
- Throws:
IOExceptionFileNotFoundException
-
getServerService
-
setServerService
-
getHomeDir
- Throws:
IOException
-
getLogFile
- Throws:
IOException
-
getLogDir
- Throws:
IOException
-
getConfig
- Throws:
FileNotFoundExceptionIOException
-
configureClient
public static void configureClient(String serverList, String port) throws FileNotFoundException, IOException - Throws:
FileNotFoundExceptionIOException
-
getServerList
-
getJVMOptions
-
setServerList
- Throws:
IOException
-
getRole
-
isServer
public boolean isServer() -
isAgent
public boolean isAgent() -
isUpdateEnabled
public boolean isUpdateEnabled() -
isStandbyServer
-
isActiveServer
-
setRole
- Throws:
IOException
-
getDbUser
-
setDbUser
- Throws:
IOException
-
getPassword
-
setPassword
- Throws:
IOException
-
getBackupDbUser
-
setBackupDbUser
- Throws:
IOException
-
getBackupPassword
-
setBackupPassword
- Throws:
IOException
-
getBackupDB
-
setBackupDB
- Throws:
IOException
-
getDB
-
setDB
- Throws:
IOException
-
getSSLKey
-
setSSLKey
- Throws:
IOException
-
getHostName
-
setHostName
- Throws:
IOException
-
getLocalPort
-
getPort
-
setPort
- Throws:
IOException
-
isRMIEnabled
public boolean isRMIEnabled() -
isBroadcastListen
public boolean isBroadcastListen() -
setRMIEnabled
- Throws:
IOException
-
isMainServer
-
getURL
-
hasKeystore
public static boolean hasKeystore() -
numberOfDamemonThreads
-
getSeyconServerHostList
- Throws:
InternalErrorExceptionIOException
-
getRawSeyconServerList
-
isAnyServer
-
getVersion
-
isDebug
public boolean isDebug() -
canUpdateComponent
-
getRequestId
-
setRequestId
- Throws:
IOException
-
setCustomProperty
- Throws:
IOException
-
getCustomProperty
-