directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre-Arnaud Marcelot ...@marcelot.net>
Subject Re: Null DN constant
Date Mon, 06 Sep 2010 07:05:18 GMT
On 5 sept. 2010, at 07:27, Kiran Ayyagari wrote:

> 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).

+1

Regards,
Pierre-Arnaud
Mime
View raw message