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 <[EMAIL PROTECTED]> 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