Class DN

java.lang.Object
netscape.ldap.util.DN
All Implemented Interfaces:
Serializable

public final class DN extends Object implements Serializable
Objects of this class represent distinguished names (DN). A distinguished name is used to identify an entry in a directory.

The netscape.ldap.LDAPDN class uses this class internally. In most cases, when working with DNs in the LDAP Java classes, you should use the netscape.ldap.LDAPDN class.

The following DNs are examples of the different formats for DNs that may appear:

  • uid=bjensen, ou=People, o=Airius.com (RFC 1485 format)
  • o=Airius.com/ou=People/uid=bjensen (OSF format)

Version:
1.0
See Also: