directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <kayyag...@apache.org>
Subject Re: Null DN constant
Date Sun, 05 Sep 2010 05:27:41 GMT
On Sun, Sep 5, 2010 at 3:10 AM, Emmanuel Lecharny <elecharny@gmail.com> wrote:
>  Hi,
>
> any preference between EMPTY_DN, NULL_DN or ROOT_DN for a null DN constant ?
>
> We currently use EMPTY_DN, but I'm inclined to also create a ROOT_DN
> constant as it's semantically different.
AFAIU an empty DN is a root dn (as in for RootDSE), so keeping it as
EMPTY_DN sounds
appropriate to me (a user should know that an empty DN *can* be a root DN).

>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
>



Kiran Ayyagari

Mime
View raw message