- java.lang.Object
-
- com.aoindustries.aoserv.client.AOServConnector
-
- com.aoindustries.aoserv.client.TCPConnector
-
- com.aoindustries.aoserv.client.SSLConnector
-
- All Implemented Interfaces:
SchemaParent
public class SSLConnector extends TCPConnector
ASSLConnectorprovides the connection between the client and server over secured SSL sockets.- Author:
- AO Industries, Inc.
- See Also:
AOServConnector
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.aoindustries.aoserv.client.AOServConnector
AOServConnector.IdLock, AOServConnector.ResultRequest<T>, AOServConnector.UpdateRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringSSL_PROTOCOLThe protocol for this connector.-
Fields inherited from class com.aoindustries.aoserv.client.TCPConnector
TCP_PROTOCOL
-
Fields inherited from class com.aoindustries.aoserv.client.AOServConnector
id, idLock, MASTER_ENTROPY_POOL_SIZE, password
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSSLConnector(HostAddress hostname, InetAddress local_ip, Port port, User.Name connectAs, User.Name authenticateAs, String password, DomainName daemonServer, int poolSize, long maxConnectionAge, String trustStorePath, String trustStorePassword)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetProtocol()Gets the communication protocol being used.static SSLConnectorgetSSLConnector(HostAddress hostname, InetAddress local_ip, Port port, User.Name connectAs, User.Name authenticateAs, String password, DomainName daemonServer, int poolSize, long maxConnectionAge, String trustStorePath, String trustStorePassword)booleanisSecure()Determines if the connections made by this protocol are secure.AOServConnectorswitchUsers(User.Name username)-
Methods inherited from class com.aoindustries.aoserv.client.TCPConnector
getConnection, getTCPConnector, printConnectionStatsHTML, release
-
Methods inherited from class com.aoindustries.aoserv.client.AOServConnector
addMasterEntropy, clearCaches, equals, executeCommand, getAccount, getAccounting, getAosh, getBackup, getBilling, getConnector, getConnector, getConnector, getConnectorId, getCurrentAdministrator, getDistribution, getDistribution_management, getDns, getEmail, getFastRandom, getFtp, getHostname, getInfrastructure, getLinux, getLocalIp, getLogger, getMaster, getMasterEntropy, getMasterEntropyNeeded, getMysql, getNet, getPayment, getPki, getPort, getPostgresql, getReseller, getSchema, getSchemas, getScm, getSecureRandom, getSignup, getSimpleAOClient, getTable, getTables, getTicket, getWeb, getWeb_jboss, getWeb_tomcat, hashCode, invalidateTable, ping, readInvalidateList, removeFromAllTables, requestBooleanQuery, requestBooleanQueryIL, requestIntQuery, requestIntQueryIL, requestLongQuery, requestLongStringQuery, requestNullLongStringQuery, requestResult, requestShortQuery, requestShortQueryIL, requestStringQuery, requestUpdate, requestUpdate, requestUpdateIL, sort, sort, tablesUpdated, testConnect, toString
-
-
-
-
Field Detail
-
SSL_PROTOCOL
public static final String SSL_PROTOCOL
The protocol for this connector.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SSLConnector
protected SSLConnector(HostAddress hostname, InetAddress local_ip, Port port, User.Name connectAs, User.Name authenticateAs, String password, DomainName daemonServer, int poolSize, long maxConnectionAge, String trustStorePath, String trustStorePassword)
-
-
Method Detail
-
getProtocol
public String getProtocol()
Description copied from class:AOServConnectorGets the communication protocol being used.- Overrides:
getProtocolin classTCPConnector
-
getSSLConnector
public static SSLConnector getSSLConnector(HostAddress hostname, InetAddress local_ip, Port port, User.Name connectAs, User.Name authenticateAs, String password, DomainName daemonServer, int poolSize, long maxConnectionAge, String trustStorePath, String trustStorePassword)
-
isSecure
public boolean isSecure()
Description copied from class:AOServConnectorDetermines if the connections made by this protocol are secure. A connection is considered secure if it uses end-point to end-point encryption or goes over private lines.- Overrides:
isSecurein classTCPConnector- Returns:
trueif the connection is secure
-
switchUsers
public AOServConnector switchUsers(User.Name username)
- Overrides:
switchUsersin classTCPConnector
-
-