Package netscape.ldap

Interface LDAPv3

All Superinterfaces:
LDAPv2
All Known Implementing Classes:
LDAPConnection

public interface LDAPv3 extends LDAPv2
Specifies additional features available in version 3 of the LDAP protocol.
Version:
1.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Attribute type that you can specify in the LDAPConnection search method if you want to retrieve all attribute types.
    static final int
    Option specifying the number of results to return at a time.
    static final int
    Option specifying the object containing the method for authenticating to the server.
    static final int
    Option specifying client controls for LDAP operations.
    static final int
    The default port number for LDAP servers.
    static final int
    Option specifying how aliases are dereferenced.
    static final int
    Specifies that aliases are always dereferenced.
    static final int
    Specifies that aliases are dereferenced when finding the starting point for the search (but not when searching under that starting entry).
    static final int
    Specifies that aliases are never dereferenced.
    static final int
    Specifies that aliases are dereferenced when searching the entries beneath the starting point of the search (but not when finding the starting entry).
    static final String
    Attribute type that you can specify in the LDAPConnection search method if you don't want to retrieve any of the attribute types for entries found by the search.
    static final int
    Option specifying the version of the LDAP protocol used by your client when interacting with the LDAP server.
    static final int
    Option specifying whether or not referrals to other LDAP servers are followed automatically.
    static final int
    Option specifying the maximum number of referrals to follow in a sequence when requesting an LDAP operation.
    static final int
    Option specifying the object containing the method for getting authentication information (the distinguished name and password) used during a referral.
    static final int
    Specifies that the scope of a search includes only the base DN (distinguished name).
    static final int
    Specifies that the scope of a search includes only the entries one level below the base DN (distinguished name).
    static final int
    Specifies that the scope of a search includes the base DN (distinguished name) and all entries at all levels beneath that base.
    static final int
    Option specifying the maximum number of milliseconds the server should spend returning search results before aborting the search.
    static final int
    Option specifying server controls for LDAP operations.
    static final int
    Option specifying the maximum number of search results to return.
    static final int
    Option specifying the maximum number of milliseconds to wait for an operation to complete.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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
    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
    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.
    Performs an extended operation on the directory.
    Returns an array of the latest controls (if any) from the server.
    void
    rename(String DN, String newRDN, String newParentDN, boolean deleteOldRDN)
    Renames and moves an entry in the directory.
    void
    rename(String DN, String newRDN, String newParentDN, boolean deleteOldRDN, LDAPConstraints cons)
    Renames and moves an entry in the directory.