Package com.aoindustries.aoserv.master
Class MasterConfiguration
java.lang.Object
com.aoindustries.aoserv.master.MasterConfiguration
The configuration for all AOServ processes is stored in a properties file.
- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
static String
static long
static String
static String
static String
static UnprotectedKey
getDaemonKey
(DatabaseAccess database, int linuxServer) static int
static String
static long
static String
static String
getDbUrl()
static String
static String
static String
static String
static InetAddress
Gets the local IP address used for outgoing connections to the daemons.static Account.Name
static String
static String
static String
static String
static String
static String
static String
getTicketSource
(String protocol, int index, String field) static String
-
Method Details
-
getSslKeystorePassword
- Throws:
IOException
-
getSslKeystorePath
- Throws:
IOException
-
getSslTruststorePassword
- Throws:
IOException
-
getSslTruststorePath
- Throws:
IOException
-
getProtocols
- Throws:
IOException
-
getLocalIp
Gets the local IP address used for outgoing connections to the daemons.- Throws:
IOException
-
getBinds
- Throws:
IOException
-
getPorts
- Throws:
IOException
-
getRootAccount
- Throws:
IOException
-
getDbDriver
- Throws:
IOException
-
getDbUrl
- Throws:
IOException
-
getDbUser
- Throws:
IOException
-
getDbPassword
- Throws:
IOException
-
getDbConnectionPoolSize
- Throws:
IOException
-
getDbMaxConnectionAge
- Throws:
IOException
-
getBackupDbDriver
- Throws:
IOException
-
getBackupDbUrl
- Throws:
IOException
-
getBackupDbUser
- Throws:
IOException
-
getBackupDbPassword
- Throws:
IOException
-
getBackupDbConnectionPoolSize
- Throws:
IOException
-
getBackupDbMaxConnectionAge
- Throws:
IOException
-
getDaemonKey
public static UnprotectedKey getDaemonKey(DatabaseAccess database, int linuxServer) throws IOException, SQLException - Throws:
IOException
SQLException
-
getTicketSmtpServer
- Throws:
IOException
-
getTicketSource
- Throws:
IOException
-
getTicketUrl
- Throws:
IOException
-
getSpamhausScriptPath
- Throws:
IOException
-
getDsblCachePath
- Throws:
IOException
-
getDsblScriptPath
- Throws:
IOException
-
getEntropyPoolFilePath
- Throws:
IOException
-