You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Ersin Er <er...@gmail.com> on 2007/04/12 23:43:17 UTC

Re: [JNDI] Utility Library

Infact ApacheDS Shared/LDAP code base is itself an extensive JNDI
utility library.

On 4/12/07, Ole Ersoy <ol...@gmail.com> wrote:
> Hey Guys,
>
> Should we start a JNDI Utility Library?
>
> I already have several pieces that I think
> would work better in a central location.  I'm
> just showing them in the org.apache.tuscany.das.ldap.util
> for now.
>
> Also, do we have any code for looking up
> an entry's parent entry/context?.
>
> Something like
>
> ctx = ctx.getParentContext() //If the parent is then do what a DOM API does
>
> I'm currently thinking about implementing it
> doing something like:
>
> String namespacedContext = ctx.getNameInNamespace();
> //Parse the namespacedContext
> //Look up the RDN's parent entry
>
> But there may be better ways of doing it.
>
> Thoughts?
>
> Thanks,
> - Ole
>
>


-- 
Ersin

Re: [JNDI] Utility Library

Posted by Ole Ersoy <ol...@gmail.com>.
Ah - Cool - I'll have a looksee.

I wrote some DIT navigation
utility methods.  Maybe we can shove them
in there.  Hopefully it's new material :-)

Thanks Ersin,
- Ole



Ersin Er wrote:
> Infact ApacheDS Shared/LDAP code base is itself an extensive JNDI
> utility library.
> 
> On 4/12/07, Ole Ersoy <ol...@gmail.com> wrote:
>> Hey Guys,
>>
>> Should we start a JNDI Utility Library?
>>
>> I already have several pieces that I think
>> would work better in a central location.  I'm
>> just showing them in the org.apache.tuscany.das.ldap.util
>> for now.
>>
>> Also, do we have any code for looking up
>> an entry's parent entry/context?.
>>
>> Something like
>>
>> ctx = ctx.getParentContext() //If the parent is then do what a DOM API 
>> does
>>
>> I'm currently thinking about implementing it
>> doing something like:
>>
>> String namespacedContext = ctx.getNameInNamespace();
>> //Parse the namespacedContext
>> //Look up the RDN's parent entry
>>
>> But there may be better ways of doing it.
>>
>> Thoughts?
>>
>> Thanks,
>> - Ole
>>
>>
> 
>