Uses of Class netscape.ldap.LDAPException

Uses in package netscape.ldap

Classes derived from netscape.ldap.LDAPException

class
An exception thrown when the LDAP operation being invoked has been interrupted.
class
Represents the situation in which the LDAP server refers the client to another LDAP server.

Methods which throw type netscape.ldap.LDAPException

void
Cancels the ldap request with the specified id and discards any results already received.
void
Cancels the ldap request with the specified id and discards any results already received.
void
Cancels all outstanding search requests associated with this LDAPSearchListener object and discards any results already received.
void
Cancels all outstanding search requests associated with this LDAPSearchListener object and discards any results already received.
void
Abandons a current search operation, notifying the server not to send additional search results.
void
Notifies the server to not send additional results associated with this LDAPSearchResults object, and discards any results already received.
void
Adds the current object class, attribute type, or matching rule definition to the schema at the root DSE.
void
Adds the current object class, attribute type, or matching rule definition to the schema.
void
Adds an entry to the directory.
void
Adds an entry to the directory.
void
Adds an entry to the directory and allows you to specify preferences for this LDAP add operation by using an LDAPConstraints object.
void
Adds an entry to the directory.
LDAPResponseListener
Adds an entry to the directory.
LDAPResponseListener
Adds an entry to the directory.
LDAPResponseListener
Adds an entry to the directory and allows you to specify constraints for this LDAP add operation by using an LDAPConstraints object.
LDAPResponseListener
Adds an entry to the directory and allows you to specify constraints for this LDAP add operation by using an LDAPConstraints object.
void
void
LDAPConnection.authenticate(String dn, Hashtable props, Object cbh)
Authenticates to the LDAP server (that the object is currently connected to) using the specified name and whatever SASL mechanisms are supported by the server.
void
LDAPConnection.authenticate(String dn, String passwd)
Authenticates to the LDAP server (to which you are currently connected) using the specified name and password.
void
LDAPv2.authenticate(String DN, String passwd)
Authenticates user with the LDAP server.
void
LDAPConnection.authenticate(String dn, String mechanism, String packageName, Hashtable 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.
void
LDAPConnection.authenticate(String dn, String passwd, LDAPConstraints cons)
Authenticates to the LDAP server (to which you are currently connected) using the specified name and password.
void
LDAPConnection.authenticate(String dn, String passwd, LDAPSearchConstraints cons)
void
LDAPConnection.authenticate(String dn, String[] mechanisms, Hashtable 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.
void
LDAPConnection.authenticate(String dn, String[] mechanisms, String packageName, Hashtable 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.
void
LDAPConnection.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.
void
LDAPv3.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.
void
LDAPConnection.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.
LDAPResponseListener
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 an LDAPConstraints object.
LDAPResponseListener
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 an LDAPConstraints object.
void
LDAPConnection.authenticate(int version, String dn, String passwd, LDAPSearchConstraints cons)
void
LDAPConnection.bind(String dn, Hashtable props, Object cbh)
Authenticates to the LDAP server (to which the object is currently connected) using the specified name and whatever SASL mechanisms are supported by the server.
void
LDAPConnection.bind(String dn, String passwd)
Authenticates to the LDAP server (to which you are currently connected) using the specified name and password.
void
LDAPv2.bind(String DN, String passwd)
Authenticates user with the LDAP server.
void
LDAPConnection.bind(String dn, String passwd, LDAPConstraints cons)
Authenticates to the LDAP server (to which you are currently connected) using the specified name and password.
LDAPResponseListener
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.
LDAPResponseListener
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.
LDAPResponseListener
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 an LDAPConstraints object.
LDAPResponseListener
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 an LDAPConstraints object.
void
LDAPConnection.bind(String dn, String[] mechanisms, Hashtable 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.
void
LDAPConnection.bind(int version, String dn, String passwd)
Authenticates 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.
void
LDAPv3.bind(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.
void
LDAPConnection.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.
LDAPResponseListener
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.
LDAPResponseListener
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 an LDAPConstraints object.
void
This method is called by LDAPConnection when authenticating.
void
Authenticates to the LDAP server (that the object is currently connected to) using the parameter that were provided to the constructor.
boolean
Checks to see if an entry contains an attribute with a specified value.
boolean
LDAPv2.compare(String DN, LDAPAttribute attr)
Compares the given entry's attribute value to the specified attribute value.
boolean
Compares the given entry's attribute value to the specified attribute value.
boolean
LDAPv2.compare(String DN, LDAPAttribute attr, LDAPConstraints cons)
Compares the given entry's attribute value to the specified attribute value.
LDAPResponseListener
Compares an attribute value with one in the directory.
LDAPResponseListener
Compare an attribute value with one in the directory.
LDAPResponseListener
Compares an attribute value with one in the directory.
LDAPResponseListener
Compare an attribute value with one in the directory.
boolean
void
LDAPConnection.connect(String host, int port)
Connects to the specified host and port.
void
LDAPv2.connect(String host, int port)
Connects to the LDAP server.
void
LDAPConnection.connect(String host, int port, String dn, String passwd)
Connects to the specified host and port and uses the specified DN and password to authenticate to the server.
void
LDAPv2.connect(String host, int port, String dn, String passwd)
Connects and authenticates to the LDAP server.
void
LDAPConnection.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.
void
LDAPConnection.connect(String host, int port, String dn, String passwd, LDAPSearchConstraints cons)
void
LDAPConnection.connect(int version, String host, int port, String dn, String passwd)
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.
void
LDAPv3.connect(int version, String host, int port, String dn, String passwd)
Connects and authenticates to the LDAP server using the specified version of the LDAP protocol.
void
LDAPConnection.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.
void
LDAPConnection.connect(int version, String host, int port, String dn, String passwd, LDAPSearchConstraints cons)
void
Deletes the entry for the specified DN from the directory.
void
LDAPv2.delete(String DN)
Removes an entry from the directory.
void
Deletes the entry for the specified DN from the directory and allows you to specify preferences for this LDAP delete operation by using an LDAPConstraints object.
void
LDAPv2.delete(String DN, LDAPConstraints cons)
Removes an entry from the directory.
LDAPResponseListener
Deletes the entry for the specified DN from the directory.
LDAPResponseListener
Deletes the entry for the specified DN from the directory.
LDAPResponseListener
Deletes the entry for the specified DN from the directory.
LDAPResponseListener
Deletes the entry for the specified DN from the directory.
void
void
Disconnects from the LDAP server.
void
Disconnects from the LDAP server.
void
(Not implemented yet)
Enables client authentication for an application running in a java VM which provides transparent certificate database management.
void
LDAPSSLSocketFactory.enableClientAuth(String certdb, String keydb, String keypwd, String certnickname, String keynickname)
This method is currently not implemented.
LDAPExtendedOperation
Performs an extended operation on the directory.
LDAPExtendedOperation
Performs an extended operation on the directory.
LDAPExtendedOperation
Performs an extended operation on the directory.
LDAPExtendedOperation
void
Retrieve the entire schema from the root of a Directory Server.
void
Retrieve the schema for a specific entry.
void
Finalize method, which disconnects from the LDAP server.
Object
Returns the value of the specified option for this LDAPConnection object.
Object
LDAPv2.getOption(int option)
Retrieves an option that applies to the connection.
Object
Gets a property of a connection.
LDAPResponse
Blocks until a response is available, or until all operations associated with the object have completed or been canceled, and returns the response.
LDAPMessage
Blocks until a search result, reference or response is available, * or until all operations associated with the object have completed * or been canceled.
Socket
Creates an SSL socket layered over an existing socket.
Socket
LDAPSocketFactory.makeSocket(String host, int port)
Returns a socket to the specified host name and port number.
Socket
LDAPSSLSocketFactory.makeSocket(String host, int port)
Returns a socket to the LDAP server with the specified host name and port number.
Socket
LDAPSSLSocketWrapFactory.makeSocket(String host, int port)
Returns socket to the specified host name and port number.
void
Makes a single change to an existing entry in the directory.
void
LDAPv2.modify(String DN, LDAPModification mod)
Modifies an attribute of a directory entry.
void
Makes a single change to an existing entry in the directory and allows you to specify preferences for this LDAP modify operation by using an LDAPConstraints object.
void
Modifies an attribute of a directory entry.
LDAPResponseListener
Makes a single change to an existing entry in the directory.
LDAPResponseListener
Makes a single change to an existing entry in the directory.
LDAPResponseListener
Makes a single change to an existing entry in the directory.
LDAPResponseListener
Makes a single change to an existing entry in the directory.
void
void
Makes a set of changes to an existing entry in the directory.
void
LDAPv2.modify(String DN, LDAPModificationSet mods)
Modifies the attributes of a directory entry.
void
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 an LDAPConstraints object.
void
Modifies the attributes of a directory entry.
LDAPResponseListener
Makes a set of changes to an existing entry in the directory.
LDAPResponseListener
Makes a set of changes to an existing entry in the directory.
LDAPResponseListener
Makes a set of changes to an existing entry in the directory.
LDAPResponseListener
Makes a set of changes to an existing entry in the directory.
void
void
Makes a set of changes to an existing entry in the directory.
void
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 an LDAPConstraints object.
void
void
Replaces a single value of the object class, attribute type, or matching rule definition in the schema at the root DSE.
void
Replaces a single value of the object class, attribute type, or matching rule definition in the schema.
LDAPEntry
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.
LDAPEntry
LDAPConnection.read(String DN)
Reads the entry for the specified distiguished name (DN) and retrieves all attributes for the entry.
LDAPEntry
LDAPv2.read(String DN)
Read the entry corresponding to the specified distinguished name (DN).
LDAPEntry
LDAPConnection.read(String DN, attrs[] )
Reads the entry for the specified distinguished name (DN) and retrieves only the specified attributes from the entry.
LDAPEntry
LDAPv2.read(String DN, attrs[] )
Read the entry corresponding to the specified distinguished name (DN), and retrieve only the specified attributes.
LDAPEntry
LDAPConnection.read(String DN, attrs[] , LDAPSearchConstraints cons)
Read the entry corresponding to the specified distinguished name (DN), and retrieve only the specified attributes.
LDAPEntry
LDAPv2.read(String DN, attrs[] , LDAPSearchConstraints cons)
Read the entry corresponding to the specified distinguished name (DN), and retrieve only the specified attributes.
LDAPEntry
Reads the entry for the specified distiguished name (DN) and retrieves all attributes for the entry.
LDAPEntry
Reads the entry specified by the LDAP URL.
void
Disconnect from the server and then reconnect using the current credentials and authentication method.
void
LDAPControl.register(String oid, Class controlClass)
Associates a class with an oid.
void
Removes the current object class, attribute type, or matching rule definition from the schema at the root DSE.
void
Removes the current object class, attribute type, or matching rule definition from the schema.
void
LDAPConnection.rename(String dn, String newRDN, String newParentDN, boolean deleteOldRDN)
Renames an existing entry in the directory and (optionally) changes the location of the entry in the directory tree.
void
LDAPv3.rename(String DN, String newRDN, String newParentDN, boolean deleteOldRDN)
Renames and moves an entry in the directory.
void
LDAPConnection.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.
void
LDAPv3.rename(String DN, String newRDN, String newParentDN, boolean deleteOldRDN, LDAPConstraints cons)
Renames and moves an entry in the directory.
void
LDAPConnection.rename(String DN, String newRDN, String newParentDN, boolean deleteOldRDN, LDAPSearchConstraints cons)
void
LDAPConnection.rename(String DN, String newRDN, boolean deleteOldRDN)
Renames an existing entry in the directory.
void
LDAPv2.rename(String DN, String newRDN, boolean deleteOldRDN)
Changes the name of an entry in the directory.
void
LDAPConnection.rename(String DN, String newRDN, boolean deleteOldRDN, LDAPConstraints cons)
Renames an existing entry in the directory.
void
LDAPv2.rename(String DN, String newRDN, boolean deleteOldRDN, LDAPConstraints cons)
Changes the name of an entry in the directory.
LDAPResponseListener
LDAPAsynchronousConnection.rename(String dn, String newRdn, boolean deleteOldRdn, LDAPResponseListener listener)
Renames an existing entry in the directory.
LDAPResponseListener
LDAPConnection.rename(String dn, String newRdn, boolean deleteOldRdn, LDAPResponseListener listener)
Renames an existing entry in the directory.
LDAPResponseListener
LDAPAsynchronousConnection.rename(String dn, String newRdn, boolean deleteOldRdn, LDAPResponseListener listener, LDAPConstraints cons)
Renames an existing entry in the directory.
LDAPResponseListener
LDAPConnection.rename(String dn, String newRdn, boolean deleteOldRdn, LDAPResponseListener listener, LDAPConstraints cons)
Renames an existing entry in the directory.
void
LDAPConnection.rename(String DN, String newRDN, boolean deleteOldRDN, LDAPSearchConstraints cons)
LDAPSearchResults
LDAPConnection.search(String base, int scope, String filter, String[] attrs, boolean attrsOnly)
Performs the search specified by the criteria that you enter.
LDAPSearchResults
LDAPv2.search(String base, int scope, String filter, String[] attrs, boolean attrsOnly)
Searches for entries in the directory.
LDAPSearchResults
LDAPConnection.search(String base, int scope, String filter, String[] attrs, boolean attrsOnly, LDAPSearchConstraints cons)
Performs the search specified by the criteria that you enter.
LDAPSearchResults
LDAPv2.search(String base, int scope, String filter, String[] attrs, boolean attrsOnly, LDAPSearchConstraints cons)
Searches for entries in the directory.
LDAPSearchListener
LDAPAsynchronousConnection.search(String base, int scope, String filter, attrs[] , boolean typesOnly, LDAPSearchListener listener)
Performs the search specified by the criteria that you enter.
LDAPSearchListener
LDAPConnection.search(String base, int scope, String filter, attrs[] , boolean typesOnly, LDAPSearchListener listener)
Performs the search specified by the criteria that you enter.
LDAPSearchListener
LDAPAsynchronousConnection.search(String base, int scope, String filter, attrs[] , boolean typesOnly, LDAPSearchListener listener, LDAPSearchConstraints cons)
Performs the search specified by the criteria that you enter.
LDAPSearchListener
LDAPConnection.search(String base, int scope, String filter, attrs[] , boolean typesOnly, LDAPSearchListener listener, LDAPSearchConstraints cons)
Performs the search specified by the criteria that you enter.
LDAPSearchResults
Performs the search specified by the LDAP URL.
LDAPSearchResults
Performs the search specified by the LDAP URL.
void
LDAPConnection.setOption(int option, Object value)
Sets the value of the specified option for this LDAPConnection object.
void
LDAPv2.setOption(int option, Object value)
Sets an option that applies to the connection.
void
LDAPConnection.setProperty(String name, Object val)
Change a property of a connection.
void
Begin using the Transport Layer Security (TLS) protocol for session privacy.
void
LDAPMatchingRuleSchema.update(LDAPConnection ld, int op, String name, String dn)
Adds, removes or modifies the definition from a Directory.
void
LDAPSchemaElement.update(LDAPConnection ld, int op, String name, String dn)
Adds, removes or modifies the definition from a Directory.
void
LDAPSchemaElement.update(LDAPConnection ld, int op, LDAPAttribute attr, String dn)
Adds, removes or modifies the definition from a Directory.
void
LDAPSchemaElement.update(LDAPConnection ld, int op, LDAPAttribute[] attrs, String dn)
Adds, removes or modifies the definition from a Directory.

Uses in package netscape.ldap.util

Constructors which throw type netscape.ldap.LDAPException

ConnectionPool.ConnectionPool(String host, int port)
Constructor for using default parameters, anonymous identity
ConnectionPool.ConnectionPool(int min, int max, String host, int port)
Constructor for specifying all parameters, anonymous identity
ConnectionPool.ConnectionPool(int min, int max, String host, int port, String authdn, String authpw)
Constructor for specifying all parameters
ConnectionPool.ConnectionPool(int min, int max, LDAPConnection ldc)
Constructor for using an existing connection to clone from.

Uses in package netscape.ldap.beans

Methods which throw type netscape.ldap.LDAPException

void
LDAPBasePropertySupport.connect(LDAPConnection conn, String host, int port)
Sets up basic connection privileges for Communicator if necessary, and connects

Uses in package netscape.ldap.factory

Constructors which throw type netscape.ldap.LDAPException

Constructs a new JSSSocketFactory, initializing the JSS security system if it has not already been initialized.
Constructs a new JSSSocketFactory, initializing the JSS security system if it has not already been initialized.

Methods which throw type netscape.ldap.LDAPException

void
JSSSocketFactory.initialize(String certdbDir)
Initialize the JSS security subsystem.
Socket
Creates an SSL socket layered over an existing socket.
Socket
Creates an SSL socket layered over an existing socket.
Socket
JSSESocketFactory.makeSocket(String host, int port)
Creates an SSL socket.
Socket
JSSSocketFactory.makeSocket(String host, int port)
Creates an SSL socket

Uses in package netscape.ldap.controls

Constructors which throw type netscape.ldap.LDAPException

LDAPEntryChangeControl.LDAPEntryChangeControl(String oid, boolean critical, byte[] value)
Contructs an LDAPEntryChangedControl object.
LDAPPasswordExpiredControl.LDAPPasswordExpiredControl(String oid, boolean critical, byte[] value)
Contructs an LDAPPasswordExpiredControl object.
LDAPPasswordExpiringControl.LDAPPasswordExpiringControl(String oid, boolean critical, byte[] value)
Contructs an LDAPPasswordExpiringControl object.
LDAPSortControl.LDAPSortControl(String oid, boolean critical, byte[] value)
Constructs a sort response LDAPSortControl object.
LDAPVirtualListResponse.LDAPVirtualListResponse(String oid, boolean critical, byte[] value)
Contructs an LDAPVirtualListResponse object.