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 intstatic Stringstatic longstatic Stringstatic Stringstatic Stringstatic UnprotectedKeygetDaemonKey(DatabaseAccess database, int linuxServer) static intstatic Stringstatic longstatic Stringstatic StringgetDbUrl()static Stringstatic Stringstatic Stringstatic Stringstatic InetAddressGets the local IP address used for outgoing connections to the daemons.static Account.Namestatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic StringgetTicketSource(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:
IOExceptionSQLException
-
getTicketSmtpServer
- Throws:
IOException
-
getTicketSource
- Throws:
IOException
-
getTicketUrl
- Throws:
IOException
-
getSpamhausScriptPath
- Throws:
IOException
-
getDsblCachePath
- Throws:
IOException
-
getDsblScriptPath
- Throws:
IOException
-
getEntropyPoolFilePath
- Throws:
IOException
-
