Class LdapAttributes

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, javax.naming.directory.Attributes

    public class LdapAttributes
    extends javax.naming.directory.BasicAttributes
    Extends BasicAttributes to add specialized support for DNs.

    While DNs appear to be and can be treated as attributes, they have a special meaning in that they define the address to which the object is bound. DNs must conform to special formatting rules and are typically required to be handled separately from other attributes.

    This class makes this distinction between the DN and other attributes prominent and apparent.

    See Also:
    Serialized Form
    • Field Detail

      • dn

        protected javax.naming.ldap.LdapName dn
        Distinguished name to which the object is bound.
    • Constructor Detail

      • LdapAttributes

        public LdapAttributes()
        Default constructor.
      • LdapAttributes

        public LdapAttributes​(boolean ignoreCase)
        Constructor for specifying whether or not the object is case sensitive.
        Parameters:
        ignoreCase - boolean indicator.