Erwin Rol wrote:
I am trying to get Open Xchange working with gcj, and so far things are
going OK. Now i ran into a problem with LDAP. OX uses
InitialLdapContext(...) to create a initial context. Later it uses
javax.naming.InitialContext.getNameInNamespace(...) and that always seem
to throw a javax.naming.OperationNotSupportedException. After looking
into the classpath source code it seems most methodes in .naming.* just
throw a not supported error.
Is this simply because nobody had time yet to implement the real code,
or is this a real design decision ?

The former.

There is the basis of an LDAP client in inetlib. This was developed with the intention of becoming the protocol handler for an LDAP JNDI implementation. There isn't any DirContext implementation yet, it would be great if someone found the time to do it.

Our only current JNDI implementation is a filesystem-based one which is still in the ether somewhere; Mark was going to review it but I guess hasn't had the time yet.

Also OX needs LdapName which i found in the apache directory sources,
are there any plans to add a LdapName implementation to classpath ?

I don't know what you're referring to.
--
犬 Chris Burdess
  "They that can give up essential liberty to obtain a little safety
  deserve neither liberty nor safety." - Benjamin Franklin




Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to