Package com.netscape.cmscore.ldapconn
Class LdapAnonConnFactory.AnonConnection
java.lang.Object
netscape.ldap.LDAPConnection
com.netscape.cmscore.ldapconn.LdapAnonConnection
com.netscape.cmscore.ldapconn.LdapAnonConnFactory.AnonConnection
- All Implemented Interfaces:
Serializable
,Cloneable
,netscape.ldap.LDAPAsynchronousConnection
,netscape.ldap.LDAPv2
,netscape.ldap.LDAPv3
- Enclosing class:
LdapAnonConnFactory
used to keep track of connections from this factory.
- See Also:
-
Field Summary
Fields inherited from class netscape.ldap.LDAPConnection
LDAP_PROPERTY_PROTOCOL, LDAP_PROPERTY_SDK, LDAP_PROPERTY_SECURITY, LDAP_VERSION, MAXBACKLOG, NODELAY_PARALLEL, NODELAY_SERIAL, TRACE_PROPERTY
Fields inherited from interface netscape.ldap.LDAPv3
ALL_USER_ATTRS, BATCHSIZE, BIND, CLIENTCONTROLS, DEFAULT_PORT, DEREF, DEREF_ALWAYS, DEREF_FINDING, DEREF_NEVER, DEREF_SEARCHING, NO_ATTRS, PROTOCOL_VERSION, REFERRALS, REFERRALS_HOP_LIMIT, REFERRALS_REBIND_PROC, SCOPE_BASE, SCOPE_ONE, SCOPE_SUB, SERVER_TIMELIMIT, SERVERCONTROLS, SIZELIMIT, TIMELIMIT
-
Constructor Summary
ConstructorsConstructorDescriptionAnonConnection
(String host, int port, int version) instantiates a non-secure connection to a ldap serverAnonConnection
(String host, int port, int version, netscape.ldap.LDAPSocketFactory fac) AnonConnection
(netscape.ldap.LDAPSocketFactory socketFactory, LdapConnInfo connInfo) -
Method Summary
Modifier and TypeMethodDescriptiongetFacId()
used only to identify the factory from which this came.Methods inherited from class com.netscape.cmscore.ldapconn.LdapAnonConnection
connect
Methods inherited from class netscape.ldap.LDAPConnection
abandon, abandon, abandon, add, add, add, add, add, authenticate, authenticate, authenticate, authenticate, authenticate, authenticate, authenticate, authenticate, authenticate, authenticate, authenticate, authenticate, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, clone, close, compare, compare, compare, compare, compare, connect, connect, connect, connect, connect, connect, delete, delete, delete, delete, delete, disconnect, extendedOperation, extendedOperation, extendedOperation, finalize, getAuthenticationDN, getAuthenticationMethod, getAuthenticationPassword, getCache, getConnectTimeout, getConnSetupDelay, getConstraints, getHost, getInputStream, getOption, getOutputStream, getPort, getProperty, getResponseControls, getSearchConstraints, getSocketFactory, isAuthenticated, isConnected, isNetscape, isTLS, main, modify, modify, modify, modify, modify, modify, modify, modify, modify, modify, modify, modify, modify, read, read, read, read, read, reconnect, rename, rename, rename, rename, rename, rename, rename, rename, search, search, search, search, search, search, setCache, setConnectTimeout, setConnSetupDelay, setConstraints, setInputStream, setOption, setOutputStream, setProperty, setSearchConstraints, setSocketFactory, startTLS, toString
-
Constructor Details
-
AnonConnection
public AnonConnection(netscape.ldap.LDAPSocketFactory socketFactory, LdapConnInfo connInfo) throws netscape.ldap.LDAPException - Throws:
netscape.ldap.LDAPException
-
AnonConnection
public AnonConnection(String host, int port, int version, netscape.ldap.LDAPSocketFactory fac) throws netscape.ldap.LDAPException - Throws:
netscape.ldap.LDAPException
-
AnonConnection
instantiates a non-secure connection to a ldap server- Throws:
netscape.ldap.LDAPException
-
-
Method Details
-
getFacId
used only to identify the factory from which this came. mConns to identify factory.
-