|
Sun Adapter for LDAP API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.net.SocketFactory com.stc.connector.ldapadapter.ldap.LDAPSSLSocketFactory
public class LDAPSSLSocketFactory
Constructor Summary | |
---|---|
LDAPSSLSocketFactory()
|
Method Summary | |
---|---|
java.net.Socket |
createSocket(java.net.InetAddress host,
int port)
Create a socket. |
java.net.Socket |
createSocket(java.net.InetAddress address,
int port,
java.net.InetAddress clientAddress,
int clientPort)
Create a socket. |
java.net.Socket |
createSocket(java.net.Socket s,
java.lang.String host,
int port,
boolean autoClose)
Create a socket. |
java.net.Socket |
createSocket(java.lang.String host,
int port)
Create a socket. |
java.net.Socket |
createSocket(java.lang.String host,
int port,
java.net.InetAddress clientHost,
int clientPort)
Create a socket. |
static javax.net.SocketFactory |
getDefault()
the getDefault method that returns the default socket factory implementation after initializing the SSL context with parameter values received from the eWay configuration model. |
java.lang.String[] |
getDefaultCipherSuites()
Get the default cipher suites. |
static javax.net.ssl.SSLSocketFactory |
getSocketFactory()
|
java.lang.String[] |
getSupportedCipherSuites()
Get the supported cipher suites. |
Methods inherited from class javax.net.SocketFactory |
---|
createSocket |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LDAPSSLSocketFactory()
Method Detail |
---|
public java.net.Socket createSocket(java.lang.String host, int port) throws java.io.IOException, java.net.UnknownHostException
createSocket
in class javax.net.SocketFactory
host
- The host.port
- The port.
java.io.IOException
- upon error.
java.net.UnknownHostException
- upon error.public java.net.Socket createSocket(java.lang.String host, int port, java.net.InetAddress clientHost, int clientPort) throws java.io.IOException, java.net.UnknownHostException
createSocket
in class javax.net.SocketFactory
host
- The host.port
- The port.clientHost
- InetAddress of client host.clientPort
- port number of client host.
java.io.IOException
- upon error.
java.net.UnknownHostException
- upon error.public java.net.Socket createSocket(java.net.InetAddress host, int port) throws java.io.IOException, java.net.UnknownHostException
createSocket
in class javax.net.SocketFactory
host
- The InetAddress of host.port
- The port.
java.io.IOException
- upon error.
java.net.UnknownHostException
- upon error.public java.net.Socket createSocket(java.net.InetAddress address, int port, java.net.InetAddress clientAddress, int clientPort) throws java.io.IOException
createSocket
in class javax.net.SocketFactory
address
- The InetAddress of host.port
- The port.clientAddress
- InetAddress of client host.clientPort
- port number of client host.
java.io.IOException
- upon error.public java.net.Socket createSocket(java.net.Socket s, java.lang.String host, int port, boolean autoClose) throws java.io.IOException, java.net.UnknownHostException
s
- The current established socket connection.host
- The host.port
- The port.autoClose
- Automatically close socket connection.
java.io.IOException
- upon error.
java.net.UnknownHostException
- upon error.public static javax.net.SocketFactory getDefault()
public java.lang.String[] getDefaultCipherSuites()
public java.lang.String[] getSupportedCipherSuites()
public static javax.net.ssl.SSLSocketFactory getSocketFactory() throws LDAPApplicationConnectionException
LDAPApplicationConnectionException
|
Sun Adapter for LDAP API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |