+1

It could be very useful instead of creating RDN objects.

Regards,
Pierre-Arnaud

On Tue, Oct 6, 2009 at 6:44 AM, Emmanuel Lecharny <elecharny@apache.org> wrote:
Hi,

as we have added a AttributeUtils.createAttributes() method which benefits from varargs, I have also added a new LdapDN constructor doing the same :

LdapDN dn = new LdapDN(
  "cn=varargs",
  "ou=" + place,
  baseDN );

which is creating the "cn=varargs,ou=example,dc=com" DN, if 'place' = example and 'baseDN' = 'dc=com'.

Do you think it's usefull ?

--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org