Uses of Class
netscape.ldap.LDAPException
Packages that use LDAPException
Package
Description
-
Uses of LDAPException in com.netscape.jndi.ldap
Fields in com.netscape.jndi.ldap declared as LDAPExceptionMethods in com.netscape.jndi.ldap with parameters of type LDAPExceptionModifier and TypeMethodDescriptionprivate voidEventService.processNetworkError(LDAPException ex) On network error, create NamingExceptionEvent and delever it to all listeners on all events. -
Uses of LDAPException in netscape.ldap
Subclasses of LDAPException in netscape.ldapModifier and TypeClassDescriptionclassAn exception thrown when the LDAP operation being invoked has been interrupted.classRepresents the situation in which the LDAP server refers the client to another LDAP server.Fields in netscape.ldap declared as LDAPExceptionModifier and TypeFieldDescriptionprivate LDAPExceptionLDAPConnSetupMgr.m_connExceptionLast exception occured during connection setupprivate LDAPExceptionLDAPMessageQueue.m_exceptionFields in netscape.ldap with type parameters of type LDAPExceptionMethods in netscape.ldap with parameters of type LDAPExceptionModifier and TypeMethodDescription(package private) voidLDAPSearchResults.add(LDAPException e) Add exceptionprivate voidLDAPConnThread.cleanUp(LDAPException ex) Clean up after the thread shutdown.(package private) voidLDAPMessageQueue.setException(LDAPConnThread connThread, LDAPException e) Signals that a network exception occured while servicing the request.Methods in netscape.ldap that throw LDAPExceptionModifier and TypeMethodDescriptionvoidLDAPAsynchronousConnection.abandon(int id) Cancels the ldap request with the specified id and discards any results already received.voidLDAPAsynchronousConnection.abandon(LDAPSearchListener searchlistener) Cancels all outstanding search requests associated with this LDAPSearchListener object and discards any results already received.voidLDAPConnection.abandon(int id) Cancels the ldap request with the specified id and discards any results already received.voidLDAPConnection.abandon(LDAPSearchListener searchlistener) Cancels all outstanding search requests associated with this LDAPSearchListener object and discards any results already received.voidLDAPConnection.abandon(LDAPSearchResults searchResults) Abandons a current search operation, notifying the server not to send additional search results.voidLDAPv2.abandon(LDAPSearchResults results) Deprecated, for removal: This API element is subject to removal in a future version.Notifies the server to not send additional results associated with thisLDAPSearchResultsobject, and discards any results already received.LDAPAsynchronousConnection.add(LDAPEntry entry, LDAPResponseListener listener) Adds an entry to the directory.LDAPAsynchronousConnection.add(LDAPEntry entry, LDAPResponseListener listener, LDAPConstraints cons) Adds an entry to the directory and allows you to specify constraints for this LDAP add operation by using anLDAPConstraintsobject.voidAdds an entry to the directory.voidLDAPConnection.add(LDAPEntry entry, LDAPConstraints cons) Adds an entry to the directory and allows you to specify preferences for this LDAP add operation by using anLDAPConstraintsobject.LDAPConnection.add(LDAPEntry entry, LDAPResponseListener listener) Adds an entry to the directory.LDAPConnection.add(LDAPEntry entry, LDAPResponseListener listener, LDAPConstraints cons) Adds an entry to the directory and allows you to specify constraints for this LDAP add operation by using anLDAPConstraintsobject.voidLDAPConnection.add(LDAPEntry entry, LDAPSearchConstraints cons) Deprecated.voidLDAPSchemaElement.add(LDAPConnection ld) Adds the current object class, attribute type, or matching rule definition to the schema at the root DSE.voidLDAPSchemaElement.add(LDAPConnection ld, String dn) Adds the current object class, attribute type, or matching rule definition to the schema.voidDeprecated, for removal: This API element is subject to removal in a future version.Adds an entry to the directory.voidLDAPv2.add(LDAPEntry entry, LDAPConstraints cons) Deprecated, for removal: This API element is subject to removal in a future version.Adds an entry to the directory.voidLDAPConnection.authenticate(int version, String dn, String passwd) Authenticates to the LDAP server (that you are currently connected to) using the specified name and password, and requesting that the server use at least the specified protocol version.voidLDAPConnection.authenticate(int version, String dn, String passwd, LDAPConstraints cons) Authenticates to the LDAP server (to which you are currently connected) using the specified name and password, and requesting that the server use at least the specified protocol version.LDAPConnection.authenticate(int version, String dn, String passwd, LDAPResponseListener listener) Authenticates to the LDAP server (that the object is currently connected to) using the specified name and password and allows you to specify constraints for this LDAP add operation by using anLDAPConstraintsobject.LDAPConnection.authenticate(int version, String dn, String passwd, LDAPResponseListener listener, LDAPConstraints cons) Authenticates to the LDAP server (that the object is currently connected to) using the specified name and password and allows you to specify constraints for this LDAP add operation by using anLDAPConstraintsobject.voidLDAPConnection.authenticate(int version, String dn, String passwd, LDAPSearchConstraints cons) Deprecated.Please use the method signature whereconsisLDAPConstraintsinstead ofLDAPSearchConstraintsvoidLDAPConnection.authenticate(String dn, String passwd) Authenticates to the LDAP server (to which you are currently connected) using the specified name and password.voidLDAPConnection.authenticate(String dn, String[] mechanisms, String packageName, Hashtable<Object, Object> props, Object cbh) Deprecated.Please use authenticate without packageName instead.voidLDAPConnection.authenticate(String dn, String[] mechanisms, Hashtable<Object, Object> props, Object cbh) Authenticates to the LDAP server (to which the object is currently connected) using the specified name and a specified SASL mechanism or set of mechanisms.voidLDAPConnection.authenticate(String dn, String mechanism, String packageName, Hashtable<Object, Object> props, Object cbh) Deprecated.Please use authenticate without packageName instead.voidLDAPConnection.authenticate(String dn, String passwd, LDAPConstraints cons) Authenticates to the LDAP server (to which you are currently connected) using the specified name and password.voidLDAPConnection.authenticate(String dn, String passwd, LDAPSearchConstraints cons) Deprecated.Please use the method signature whereconsisLDAPConstraintsinstead ofLDAPSearchConstraintsvoidAuthenticates to the LDAP server (that the object is currently connected to) using the specified name and whatever SASL mechanisms are supported by the server.voidLDAPv2.authenticate(String DN, String passwd) Deprecated, for removal: This API element is subject to removal in a future version.Authenticates user with the LDAP server.voidLDAPv3.authenticate(int version, String dn, String passwd) Authenticates to the LDAP server (to which the object is currently connected) using the specified name, password, and version of the LDAP protocol.LDAPAsynchronousConnection.bind(String dn, String passwd, LDAPResponseListener listener) Authenticates to the LDAP server (that the object is currently connected to) using the specified name and password.LDAPAsynchronousConnection.bind(String dn, String passwd, LDAPResponseListener listener, LDAPConstraints cons) Authenticates to the LDAP server (that the object is currently connected to) using the specified name and password and allows you to specify constraints for this LDAP add operation by using anLDAPConstraintsobject.voidLDAPBind.bind(LDAPConnection conn) This method is called byLDAPConnectionwhen authenticating.voidAuthenticates to the LDAP server (to which you are currently connected) using the specified name and password, and requests that the server use at least the specified protocol version.voidLDAPConnection.bind(int version, String dn, String passwd, LDAPConstraints cons) Authenticates to the LDAP server (to which you are currently connected) using the specified name and password, and requesting that the server use at least the specified protocol version.LDAPConnection.bind(int version, String dn, String passwd, LDAPResponseListener listener) Authenticates to the LDAP server (to which the object is currently connected) using the specified name and password.LDAPConnection.bind(int version, String dn, String passwd, LDAPResponseListener listener, LDAPConstraints cons) Authenticates to the LDAP server (to which the object is currently connected) using the specified name and password and allows you to specify constraints for this LDAP add operation by using anLDAPConstraintsobject.voidAuthenticates to the LDAP server (to which you are currently connected) using the specified name and password.voidAuthenticates to the LDAP server (to which the object is currently connected) using the specified name and a specified SASL mechanism or set of mechanisms.voidLDAPConnection.bind(String dn, String passwd, LDAPConstraints cons) Authenticates to the LDAP server (to which you are currently connected) using the specified name and password.LDAPConnection.bind(String dn, String passwd, LDAPResponseListener listener) Authenticates to the LDAP server (to which the object is currently connected) using the specified name and password.LDAPConnection.bind(String dn, String passwd, LDAPResponseListener listener, LDAPConstraints cons) Authenticates to the LDAP server (to which the object is currently connected) using the specified name and password and allows you to specify constraints for this LDAP add operation by using anLDAPConstraintsobject.voidAuthenticates to the LDAP server (to which the object is currently connected) using the specified name and whatever SASL mechanisms are supported by the server.voidLDAPSaslBind.bind(LDAPConnection ldc) Authenticates to the LDAP server (that the object is currently connected to) using the parameter that were provided to the constructor.(package private) voidLDAPSaslBind.bind(LDAPConnection ldc, boolean rebind) voidDeprecated, for removal: This API element is subject to removal in a future version.Authenticates user with the LDAP server.voidAuthenticates to the LDAP server (to which the object is currently connected) using the specified name, password, and version of the LDAP protocol.private voidLDAPConnection.checkClientAuth()Performs certificate-based authentication if client authentication was specified at construction time.private voidLDAPConnection.checkConnection(boolean rebind) Check and restore the connection if needed.private booleanLDAPSaslBind.checkForSASLBindCompletion(int resultCode) (package private) voidLDAPConnection.checkMsg(LDAPMessage m) Checks the message (assumed to be a return value).(package private) voidLDAPConnection.checkSearchMsg(LDAPSearchResults value, LDAPMessage msg, LDAPSearchConstraints cons, String dn, int scope, String filter, String[] attrs, boolean attrsOnly) LDAPAsynchronousConnection.compare(String dn, LDAPAttribute attr, LDAPResponseListener listener) Compares an attribute value with one in the directory.LDAPAsynchronousConnection.compare(String dn, LDAPAttribute attr, LDAPResponseListener listener, LDAPConstraints cons) Compares an attribute value with one in the directory.booleanLDAPConnection.compare(String DN, LDAPAttribute attr) Checks to see if an entry contains an attribute with a specified value.booleanLDAPConnection.compare(String DN, LDAPAttribute attr, LDAPConstraints cons) LDAPConnection.compare(String dn, LDAPAttribute attr, LDAPResponseListener listener) Compare an attribute value with one in the directory.LDAPConnection.compare(String dn, LDAPAttribute attr, LDAPResponseListener listener, LDAPConstraints cons) Compare an attribute value with one in the directory.booleanLDAPConnection.compare(String DN, LDAPAttribute attr, LDAPSearchConstraints cons) Deprecated.Please use the method signature whereconsisLDAPConstraintsinstead ofLDAPSearchConstraintsbooleanLDAPv2.compare(String DN, LDAPAttribute attr) Deprecated, for removal: This API element is subject to removal in a future version.Compares the given entry's attribute value to the specified attribute value.booleanLDAPv2.compare(String DN, LDAPAttribute attr, LDAPConstraints cons) Deprecated, for removal: This API element is subject to removal in a future version.Compares the given entry's attribute value to the specified attribute value.(package private) LDAPResponseLDAPMessageQueue.completeRequest()Wait for request to complete.(package private) LDAPResponseLDAPSearchListener.completeSearchOperation()Block until all results are in.private voidLDAPConnection.connect()Internal routine to connect with internal paramsvoidConnects to the specified host and port and uses the specified DN and password to authenticate to the server, with the specified LDAP protocol version.voidLDAPConnection.connect(int version, String host, int port, String dn, String passwd, LDAPConstraints cons) Connects to the specified host and port and uses the specified DN and password to authenticate to the server, with the specified LDAP protocol version.voidLDAPConnection.connect(int version, String host, int port, String dn, String passwd, LDAPSearchConstraints cons) Deprecated.Please use the method signature whereconsisLDAPConstraintsinstead ofLDAPSearchConstraintsvoidConnects to the specified host and port.voidConnects to the specified host and port and uses the specified DN and password to authenticate to the server.voidLDAPConnection.connect(String host, int port, String dn, String passwd, LDAPConstraints cons) Connects to the specified host and port and uses the specified DN and password to authenticate to the server.private voidLDAPConnection.connect(String host, int port, String dn, String passwd, LDAPConstraints cons, boolean doAuthenticate) voidLDAPConnection.connect(String host, int port, String dn, String passwd, LDAPSearchConstraints cons) Deprecated.Please use the method signature whereconsisLDAPConstraintsinstead ofLDAPSearchConstraints(package private) void(package private) voidLDAPConnThread.connect(LDAPConnection ldc) voidDeprecated, for removal: This API element is subject to removal in a future version.Connects to the LDAP server.voidDeprecated, for removal: This API element is subject to removal in a future version.Connects and authenticates to the LDAP server.voidConnects and authenticates to the LDAP server using the specified version of the LDAP protocol.(package private) LongLDAPCache.createKey(String host, int port, String baseDN, String filter, int scope, String[] attrs, String bindDN, LDAPConstraints cons) Create a key for a cache entry by concatenating all input parameters(package private) LDAPConnectionLDAPConnection.createReferralConnection(LDAPReferralException e, LDAPConstraints cons) Establish the LDAPConnection to the referred server.(package private) ObjectLDAPConnection.createTraceOutput(Object out) Evaluate the TRACE_PROPERTY value and create output stream.LDAPAsynchronousConnection.delete(String dn, LDAPResponseListener listener) Deletes the entry for the specified DN from the directory.LDAPAsynchronousConnection.delete(String dn, LDAPResponseListener listener, LDAPConstraints cons) Deletes the entry for the specified DN from the directory.voidDeletes the entry for the specified DN from the directory.voidLDAPConnection.delete(String DN, LDAPConstraints cons) Deletes the entry for the specified DN from the directory and allows you to specify preferences for this LDAP delete operation by using anLDAPConstraintsobject.LDAPConnection.delete(String dn, LDAPResponseListener listener) Deletes the entry for the specified DN from the directory.LDAPConnection.delete(String dn, LDAPResponseListener listener, LDAPConstraints cons) Deletes the entry for the specified DN from the directory.voidLDAPConnection.delete(String DN, LDAPSearchConstraints cons) Deprecated.Please use the method signature whereconsisLDAPConstraintsinstead ofLDAPSearchConstraintsvoidDeprecated, for removal: This API element is subject to removal in a future version.Removes an entry from the directory.voidLDAPv2.delete(String DN, LDAPConstraints cons) Deprecated, for removal: This API element is subject to removal in a future version.Removes an entry from the directory.voidLDAPConnection.disconnect()Disconnects from the LDAP server.voidLDAPv2.disconnect()Deprecated, for removal: This API element is subject to removal in a future version.Disconnects from the LDAP server.voidLDAPSSLSocketFactory.enableClientAuth(String certdb, String keydb, String keypwd, String certnickname, String keynickname) This method is currently not implemented.voidLDAPSSLSocketWrapFactory.enableClientAuth()(Not implemented yet)
Enables client authentication for an application running in a java VM which provides transparent certificate database management.LDAPConnection.extendedOperation(LDAPExtendedOperation op) Performs an extended operation on the directory.LDAPConnection.extendedOperation(LDAPExtendedOperation op, LDAPConstraints cons) Performs an extended operation on the directory.LDAPConnection.extendedOperation(LDAPExtendedOperation op, LDAPSearchConstraints cons) Deprecated.Please use the method signature whereconsisLDAPConstraintsinstead ofLDAPSearchConstraintsLDAPv3.extendedOperation(LDAPExtendedOperation op) Performs an extended operation on the directory.voidLDAPSchema.fetchSchema(LDAPConnection ld) Retrieve the entire schema from the root of a Directory Server.voidLDAPSchema.fetchSchema(LDAPConnection ld, String dn) Retrieve the schema for a specific entry.voidLDAPConnection.finalize()Finalize method, which disconnects from the LDAP server.(package private) voidLDAPConnection.forceNonSharedConnection()If this connection is cloned (the physical connection is shared), create a new physical connection.private ObjectLDAPSaslBind.getClient(LDAPConnection ldc, String packageName) Get a SaslClient object from the Sasl framework(package private) static Method(package private) static MethodReturns the method whose name matches the specified argument.private MethodLDAPConnection.getOption(int option) Returns the value of the specified option for thisLDAPConnectionobject.private static ObjectLDAPConnection.getOption(int option, LDAPSearchConstraints cons) LDAPv2.getOption(int option) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves an option that applies to the connection.LDAPConnection.getProperty(String name) Gets a property of a connection.LDAPResponseListener.getResponse()Blocks until a response is available, or until all operations associated with the object have completed or been canceled, and returns the response.LDAPSearchListener.getResponse()Blocks until a search result, reference or response is available, or until all operations associated with the object have completed or been canceled.(package private) static StringLDAPSchema.getSchemaDN(LDAPConnection ld, String dn) Retrieve the DN of the schema definitions for a specific entry.(package private) ObjectLDAPConnection.getTraceOutput()Returns the trace output object if set by the user(package private) static ObjectDynamicInvoker.invokeMethod(Object obj, String packageName, String methodName, Object[] args, String[] argNames) private ObjectLDAPSSLSocket.invokeMethod(Object obj, String name, Object[] args) (package private) static booleanLDAPSchema.isAttributeSyntaxStandardsCompliant(LDAPConnection ld) Read one attribute definition from a server to determine if attribute syntaxes are quoted (a bug, present in Netscape and Novell servers).(package private) voidLDAPConnSetupMgr.layerSocket(LDAPTLSSocketFactory factory) Layer a new socket over the existing one (used by startTLS)LDAPSocketFactory.makeSocket(String host, int port) Returns a socket to the specified host name and port number.LDAPSSLSocketFactory.makeSocket(String host, int port) Returns a socket to the LDAP server with the specified host name and port number.LDAPSSLSocketWrapFactory.makeSocket(String host, int port) Returns socket to the specified host name and port number.LDAPTLSSocketFactory.makeSocket(Socket s) Creates an SSL socket layered over an existing socket.LDAPAsynchronousConnection.modify(String dn, LDAPModification mod, LDAPResponseListener listener) Makes a single change to an existing entry in the directory.LDAPAsynchronousConnection.modify(String dn, LDAPModification mod, LDAPResponseListener listener, LDAPConstraints cons) Makes a single change to an existing entry in the directory.LDAPAsynchronousConnection.modify(String dn, LDAPModificationSet mods, LDAPResponseListener listener) Makes a set of changes to an existing entry in the directory.LDAPAsynchronousConnection.modify(String dn, LDAPModificationSet mods, LDAPResponseListener listener, LDAPConstraints cons) Makes a set of changes to an existing entry in the directory.voidLDAPConnection.modify(String DN, LDAPModification mod) Makes a single change to an existing entry in the directory.voidLDAPConnection.modify(String DN, LDAPModification[] mods) Makes a set of changes to an existing entry in the directory.voidLDAPConnection.modify(String DN, LDAPModification[] mods, LDAPConstraints cons) Makes a set of changes to an existing entry in the directory and allows you to specify preferences for this LDAP modify operation by using anLDAPConstraintsobject.voidLDAPConnection.modify(String DN, LDAPModification[] mods, LDAPSearchConstraints cons) Deprecated.Please use the method signature whereconsisLDAPConstraintsinstead ofLDAPSearchConstraintsvoidLDAPConnection.modify(String DN, LDAPModification mod, LDAPConstraints cons) Makes a single change to an existing entry in the directory and allows you to specify preferences for this LDAP modify operation by using anLDAPConstraintsobject.LDAPConnection.modify(String dn, LDAPModification mod, LDAPResponseListener listener) Makes a single change to an existing entry in the directory.LDAPConnection.modify(String dn, LDAPModification mod, LDAPResponseListener listener, LDAPConstraints cons) Makes a single change to an existing entry in the directory.voidLDAPConnection.modify(String DN, LDAPModification mod, LDAPSearchConstraints cons) Deprecated.Please use the method signature whereconsisLDAPConstraintsinstead ofLDAPSearchConstraintsvoidLDAPConnection.modify(String DN, LDAPModificationSet mods) Makes a set of changes to an existing entry in the directory.voidLDAPConnection.modify(String DN, LDAPModificationSet mods, LDAPConstraints cons) Makes a set of changes to an existing entry in the directory and allows you to specify preferences for this LDAP modify operation by using anLDAPConstraintsobject.LDAPConnection.modify(String dn, LDAPModificationSet mods, LDAPResponseListener listener) Makes a set of changes to an existing entry in the directory.LDAPConnection.modify(String dn, LDAPModificationSet mods, LDAPResponseListener listener, LDAPConstraints cons) Makes a set of changes to an existing entry in the directory.voidLDAPConnection.modify(String DN, LDAPModificationSet mods, LDAPSearchConstraints cons) Deprecated.Please use the method signature whereconsisLDAPConstraintsinstead ofLDAPSearchConstraintsvoidLDAPSchemaElement.modify(LDAPConnection ld, LDAPSchemaElement newValue) Replaces a single value of the object class, attribute type, or matching rule definition in the schema at the root DSE.voidLDAPSchemaElement.modify(LDAPConnection ld, LDAPSchemaElement newValue, String dn) Replaces a single value of the object class, attribute type, or matching rule definition in the schema.voidLDAPv2.modify(String DN, LDAPModification mod) Deprecated, for removal: This API element is subject to removal in a future version.Modifies an attribute of a directory entry.voidLDAPv2.modify(String DN, LDAPModification mod, LDAPConstraints cons) Deprecated, for removal: This API element is subject to removal in a future version.Modifies an attribute of a directory entry.voidLDAPv2.modify(String DN, LDAPModificationSet mods) Deprecated, for removal: This API element is subject to removal in a future version.Modifies the attributes of a directory entry.voidLDAPv2.modify(String DN, LDAPModificationSet mods, LDAPConstraints cons) Deprecated, for removal: This API element is subject to removal in a future version.Modifies the attributes of a directory entry.LDAPSearchResults.next()Returns the next LDAP entry from the search results and throws an exception if the next result is a referral, or if a sizelimit or timelimit error occurred.(package private) LDAPMessageLDAPMessageQueue.nextMessage()Blocks until a response is available or until all operations associated with the object have completed or been canceled.(package private) LDAPMessageLDAPSearchListener.nextMessage()Override nextMessage to wake up the LDAPConnThread if backlog limit has been reached(package private) SocketLDAPConnSetupMgr.openConnection()Try to open the connection to any of the servers in the list, limiting the time waiting for the connection to be establishedprivate LDAPExtendedOperationLDAPConnection.performExtendedReferrals(LDAPReferralException e, LDAPConstraints cons, LDAPExtendedOperation op) Follows a referral for an extended operation.(package private) voidLDAPConnection.performReferrals(LDAPReferralException e, LDAPConstraints cons, int ops, String dn, int scope, String filter, String[] types, boolean attrsOnly, LDAPModification[] mods, LDAPEntry entry, LDAPAttribute attr, Vector<Object> results) Follows a referral.Reads the entry for the specified distiguished name (DN) and retrieves all attributes for the entry.Reads the entry for the specified distinguished name (DN) and retrieves only the specified attributes from the entry.LDAPConnection.read(String DN, String[] attrs, LDAPSearchConstraints cons) LDAPConnection.read(String DN, LDAPSearchConstraints cons) Reads the entry for the specified distiguished name (DN) and retrieves all attributes for the entry.static LDAPEntryReads the entry specified by the LDAP URL.Deprecated, for removal: This API element is subject to removal in a future version.Read the entry corresponding to the specified distinguished name (DN).Deprecated, for removal: This API element is subject to removal in a future version.Read the entry corresponding to the specified distinguished name (DN), and retrieve only the specified attributes.LDAPv2.read(String DN, String[] attrs, LDAPSearchConstraints cons) Deprecated, for removal: This API element is subject to removal in a future version.Read the entry corresponding to the specified distinguished name (DN), and retrieve only the specified attributes.private static LDAPEntryLDAPSchema.readSchema(LDAPConnection ld, String dn) private static LDAPEntryLDAPSchema.readSchema(LDAPConnection ld, String dn, String[] attrs) voidLDAPConnection.reconnect()Disconnect from the server and then reconnect using the current credentials and authentication method.(package private) voidLDAPConnection.reconnect(boolean rebind) private LDAPConnectionLDAPConnection.referralConnect(LDAPUrl[] refList, LDAPConstraints cons) Set up connection for referral.(package private) voidLDAPConnection.referralOperation(LDAPConnection connection, LDAPConstraints cons, int ops, String dn, int scope, String filter, String[] types, boolean attrsOnly, LDAPModification[] mods, LDAPEntry entry, LDAPAttribute attr, Vector<Object> results) private voidLDAPConnection.referralRebind(LDAPConnection ldc, LDAPConstraints cons) static voidAssociates a class with an oid.voidLDAPSchemaElement.remove(LDAPConnection ld) Removes the current object class, attribute type, or matching rule definition from the schema at the root DSE.voidLDAPSchemaElement.remove(LDAPConnection ld, String dn) Removes the current object class, attribute type, or matching rule definition from the schema.LDAPAsynchronousConnection.rename(String dn, String newRdn, boolean deleteOldRdn, LDAPResponseListener listener) Renames an existing entry in the directory.LDAPAsynchronousConnection.rename(String dn, String newRdn, boolean deleteOldRdn, LDAPResponseListener listener, LDAPConstraints cons) Renames an existing entry in the directory.voidRenames an existing entry in the directory.voidLDAPConnection.rename(String DN, String newRDN, boolean deleteOldRDN, LDAPConstraints cons) Renames an existing entry in the directory.LDAPConnection.rename(String dn, String newRdn, boolean deleteOldRdn, LDAPResponseListener listener) Renames an existing entry in the directory.LDAPConnection.rename(String dn, String newRdn, boolean deleteOldRdn, LDAPResponseListener listener, LDAPConstraints cons) Renames an existing entry in the directory.voidLDAPConnection.rename(String DN, String newRDN, boolean deleteOldRDN, LDAPSearchConstraints cons) Deprecated.Please use the method signature whereconsisLDAPConstraintsinstead ofLDAPSearchConstraintsvoidRenames an existing entry in the directory and (optionally) changes the location of the entry in the directory tree.voidLDAPConnection.rename(String DN, String newRDN, String newParentDN, boolean deleteOldRDN, LDAPConstraints cons) Renames an existing entry in the directory and (optionally) changes the location of the entry in the directory tree.voidLDAPConnection.rename(String DN, String newRDN, String newParentDN, boolean deleteOldRDN, LDAPSearchConstraints cons) Deprecated.Please use the method signature whereconsisLDAPConstraintsinstead ofLDAPSearchConstraintsvoidDeprecated, for removal: This API element is subject to removal in a future version.Changes the name of an entry in the directory.voidLDAPv2.rename(String DN, String newRDN, boolean deleteOldRDN, LDAPConstraints cons) Deprecated, for removal: This API element is subject to removal in a future version.Changes the name of an entry in the directory.voidRenames and moves an entry in the directory.voidLDAPv3.rename(String DN, String newRDN, String newParentDN, boolean deleteOldRDN, LDAPConstraints cons) Renames and moves an entry in the directory.private voidLDAPConnection.restoreConnection(boolean rebind) Reconnect and reauthenticateprivate JDAPBindResponseLDAPSaslBind.saslBind(LDAPConnection ldc, String mechanismName, byte[] credentials) LDAPAsynchronousConnection.search(String base, int scope, String filter, String[] attrs, boolean typesOnly, LDAPSearchListener listener) Performs the search specified by the criteria that you enter.LDAPAsynchronousConnection.search(String base, int scope, String filter, String[] attrs, boolean typesOnly, LDAPSearchListener listener, LDAPSearchConstraints cons) Performs the search specified by the criteria that you enter.Performs the search specified by the criteria that you enter.LDAPConnection.search(String base, int scope, String filter, String[] attrs, boolean attrsOnly, LDAPSearchConstraints cons) Performs the search specified by the criteria that you enter.LDAPConnection.search(String base, int scope, String filter, String[] attrs, boolean typesOnly, LDAPSearchListener listener) Performs the search specified by the criteria that you enter.LDAPConnection.search(String base, int scope, String filter, String[] attrs, boolean typesOnly, LDAPSearchListener listener, LDAPSearchConstraints cons) Performs the search specified by the criteria that you enter.static LDAPSearchResultsPerforms the search specified by the LDAP URL.static LDAPSearchResultsLDAPConnection.search(LDAPUrl toGet, LDAPSearchConstraints cons) Performs the search specified by the LDAP URL.Deprecated, for removal: This API element is subject to removal in a future version.Searches for entries in the directory.LDAPv2.search(String base, int scope, String filter, String[] attrs, boolean attrsOnly, LDAPSearchConstraints cons) Deprecated, for removal: This API element is subject to removal in a future version.Searches for entries in the directory.(package private) voidLDAPConnection.sendRequest(JDAPProtocolOp oper, LDAPMessageQueue myListener, LDAPConstraints cons) Send a request to the server(package private) voidLDAPConnThread.sendRequest(LDAPConnection conn, JDAPProtocolOp request, LDAPMessageQueue toNotify, LDAPConstraints cons) Sends LDAP request via this connection thread.voidSets the value of the specified option for thisLDAPConnectionobject.private static voidLDAPConnection.setOption(int option, Object value, LDAPSearchConstraints cons) voidDeprecated, for removal: This API element is subject to removal in a future version.Sets an option that applies to the connection.voidLDAPConnection.setProperty(String name, Object val) Change a property of a connection.private voidLDAPConnection.simpleBind(LDAPConstraints cons) Internal routine.voidLDAPConnection.startTLS()Begin using the Transport Layer Security (TLS) protocol for session privacy.protected voidLDAPMatchingRuleSchema.update(LDAPConnection ld, int op, String name, String dn) Adds, removes or modifies the definition from a Directory.protected voidLDAPSchemaElement.update(LDAPConnection ld, int op, String name, String dn) Adds, removes or modifies the definition from a Directory.protected voidLDAPSchemaElement.update(LDAPConnection ld, int op, LDAPAttribute[] attrs, String dn) Adds, removes or modifies the definition from a Directory.protected voidLDAPSchemaElement.update(LDAPConnection ld, int op, LDAPAttribute attr, String dn) Adds, removes or modifies the definition from a Directory.(package private) voidLDAPMessageQueue.waitFirstMessage()Blocks until a response is available.private voidLDAPMessageQueue.waitForMessage()Wait for a response message.Constructors in netscape.ldap that throw LDAPExceptionModifierConstructorDescription(package private)LDAPConnSetupMgr(String[] hosts, int[] ports, LDAPSocketFactory factory) Constructor(package private)LDAPConnSetupMgr(String[] urls, LDAPSocketFactory factory) (package private)LDAPConnSetupMgr(LDAPUrl[] urls, LDAPSocketFactory factory) LDAPSSLSocket(String host, int port, String packageName) LDAPSSLSocket(String host, int port, String packageName, Object cipherSuites) -
Uses of LDAPException in netscape.ldap.beans
Methods in netscape.ldap.beans that throw LDAPExceptionModifier and TypeMethodDescriptionprotected voidLDAPBasePropertySupport.connect(LDAPConnection conn, String host, int port) Sets up basic connection privileges for Communicator if necessary, and connects -
Uses of LDAPException in netscape.ldap.controls
Constructors in netscape.ldap.controls that throw LDAPExceptionModifierConstructorDescriptionLDAPEntryChangeControl(String oid, boolean critical, byte[] value) Contructs anLDAPEntryChangedControlobject.LDAPPagedResultsControl(String oid, boolean critical, byte[] vals) Constructs anLDAPPagedResultsControlobject that specifies a paged search.LDAPPasswordExpiredControl(String oid, boolean critical, byte[] value) Contructs anLDAPPasswordExpiredControlobject.LDAPPasswordExpiringControl(String oid, boolean critical, byte[] value) Contructs anLDAPPasswordExpiringControlobject.LDAPSortControl(String oid, boolean critical, byte[] value) Constructs a sort responseLDAPSortControlobject.LDAPVirtualListResponse(String oid, boolean critical, byte[] value) Contructs anLDAPVirtualListResponseobject. -
Uses of LDAPException in netscape.ldap.factory
Methods in netscape.ldap.factory that throw LDAPExceptionModifier and TypeMethodDescriptionstatic voidJSSSocketFactory.initialize(String certdbDir) Initialize the JSS security subsystem.JSSESocketFactory.makeSocket(String host, int port) Creates an SSL socket.JSSESocketFactory.makeSocket(Socket s) Creates an SSL socket layered over an existing socket.JSSSocketFactory.makeSocket(String host, int port) Creates an SSL socketJSSSocketFactory.makeSocket(Socket s) Creates an SSL socket layered over an existing socket.Constructors in netscape.ldap.factory that throw LDAPExceptionModifierConstructorDescriptionConstructs a newJSSSocketFactory, initializing the JSS security system if it has not already been initialized.JSSSocketFactory(String certdbDir) Constructs a newJSSSocketFactory, initializing the JSS security system if it has not already been initialized. -
Uses of LDAPException in netscape.ldap.util
Methods in netscape.ldap.util that throw LDAPExceptionModifier and TypeMethodDescriptionprivate voidConnectionPool.createPool()private voidConnectionPool.setUpPool(int size) Constructors in netscape.ldap.util that throw LDAPExceptionModifierConstructorDescriptionConnectionPool(int min, int max, String host, int port) Constructor for specifying all parameters, anonymous identityConnectionPool(int min, int max, String host, int port, String authdn, String authpw) Constructor for specifying all parametersprivateConnectionPool(int min, int max, String host, int port, String authdn, String authpw, LDAPConnection ldc) ConnectionPool(int min, int max, LDAPConnection ldc) Constructor for using an existing connection to clone from.ConnectionPool(String host, int port) Constructor for using default parameters, anonymous identity
consisLDAPConstraintsinstead ofLDAPSearchConstraints