|
LDAPJDK 4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--netscape.ldap.factory.JSSESocketFactory
Creates an SSL socket connection to a server, using the JSSE package
from Sun. This class implements the LDAPSocketFactory
interface.
LDAPSocketFactory
,
LDAPConnection.LDAPConnection(netscape.ldap.LDAPSocketFactory)
, Serialized FormConstructor Summary | |
JSSESocketFactory(java.lang.String[] suites)
Factory constructor |
Method Summary | |
java.net.Socket |
makeSocket(java.lang.String host,
int port)
Creates an SSL socket |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public JSSESocketFactory(java.lang.String[] suites)
suites
- Cipher suites to attempt to use with the server;
if null
, use any cipher suites available in the
JSSE packageMethod Detail |
public java.net.Socket makeSocket(java.lang.String host, int port) throws LDAPException
host
- Host name or IP address of SSL serverport
- Port numbers of SSL server
|
LDAPJDK 4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |