public class LdapOnPremiseSocketFactory extends SocketFactory
java.naming.ldap.factory.socket
when establishing LdapContext.| Constructor and Description |
|---|
LdapOnPremiseSocketFactory() |
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket(InetAddress host,
int port) |
Socket |
createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress localHost,
int localPort) |
static SocketFactory |
getDefault()
Returns the default LDAP on premise socket factory.
|
protected void |
setConnectivitySocketFactory(ConnectivitySocketFactory factory) |
createSocketprotected void setConnectivitySocketFactory(ConnectivitySocketFactory factory)
public static SocketFactory getDefault()
public Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(InetAddress host, int port) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket in class SocketFactoryIOExceptionCopyright © 2022 SAP. All rights reserved.