@ThreadSafe public final class CertifiedClientSocketFactory extends SecureClientSocketFactory
Extends the @{link SecureRMIClientSocketFactory} with additional security configuration checks done before socket creation.
Constructor and Description |
---|
CertifiedClientSocketFactory(UUID uuid)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
protected Socket |
newSocket(String host,
int port)
Create a client socket connected to the specified host and port.
|
createSocket, equals, getContext, hashCode
public CertifiedClientSocketFactory(@Nonnull UUID uuid)
uuid
- The UUID identifying the context.protected Socket newSocket(String host, int port) throws IOException
newSocket
in class SecureClientSocketFactory
host
- The host name.port
- The port number.IOException
- When an I/O error occurs during socket creation.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.