java.lang.Object
com.aoindustries.aoserv.client.AoservConnector
com.aoindustries.aoserv.client.TcpConnector
com.aoindustries.aoserv.client.SslConnector
- All Implemented Interfaces:
SchemaParent
A
SslConnector
provides the connection between
the client and server over secured SSL sockets.- Author:
- AO Industries, Inc.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.aoindustries.aoserv.client.AoservConnector
AoservConnector.IdLock, AoservConnector.ResultRequest<T>, AoservConnector.UpdateRequest
-
Field Summary
FieldsFields 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
ConstructorsModifierConstructorDescriptionprotected
SslConnector
(HostAddress hostname, InetAddress localIp, Port port, User.Name connectAs, User.Name authenticateAs, String password, DomainName daemonServer, int poolSize, long maxConnectionAge, String trustStorePath, String trustStorePassword) -
Method Summary
Modifier and TypeMethodDescriptionGets the communication protocol being used.static SslConnector
getSslConnector
(HostAddress hostname, InetAddress localIp, Port port, User.Name connectAs, User.Name authenticateAs, String password, DomainName daemonServer, int poolSize, long maxConnectionAge, String trustStorePath, String trustStorePassword) boolean
isSecure()
Determines if the connections made by this protocol are secure.switchUsers
(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, getSimpleClient, getTable, getTables, getTicket, getWeb, getWeb_jboss, getWeb_tomcat, hashCode, invalidateTable, ping, readInvalidateList, removeFromAllTables, requestBooleanQuery, requestBooleanQueryInvalidating, requestIntQuery, requestIntQueryInvalidating, requestLongQuery, requestLongStringQuery, requestNullLongStringQuery, requestResult, requestShortQuery, requestShortQueryInvalidating, requestStringQuery, requestUpdate, requestUpdate, requestUpdateInvalidating, sort, sort, tablesUpdated, testConnect, toString
-
Field Details
-
SSL_PROTOCOL
The protocol for this connector.- See Also:
-
-
Constructor Details
-
SslConnector
protected SslConnector(HostAddress hostname, InetAddress localIp, Port port, User.Name connectAs, User.Name authenticateAs, String password, DomainName daemonServer, int poolSize, long maxConnectionAge, String trustStorePath, String trustStorePassword)
-
-
Method Details
-
getProtocol
Description copied from class:AoservConnector
Gets the communication protocol being used.- Overrides:
getProtocol
in classTcpConnector
-
getSslConnector
public static SslConnector getSslConnector(HostAddress hostname, InetAddress localIp, 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:AoservConnector
Determines 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:
isSecure
in classTcpConnector
- Returns:
true
if the connection is secure
-
switchUsers
- Overrides:
switchUsers
in classTcpConnector
-