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) |
createSocket
protected void setConnectivitySocketFactory(ConnectivitySocketFactory factory)
public static SocketFactory getDefault()
public Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
public Socket createSocket(InetAddress host, int port) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket
in class SocketFactory
IOException
Copyright © 2024 SAP. All rights reserved.