directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erdal Karaca <erdal.karaca...@googlemail.com>
Subject Usage of ldap connection.core in custom rcp
Date Wed, 15 Apr 2009 09:36:31 GMT
I am using the "org.apache.directory.studio.connection.core" plugin (and its
dependencies) in a custom rcp.

There are valid ldap connections configured (using the "New Connection"
wizard).

Now, when trying to use a ldap connection (connection obtained from
connection manager of connection.core),
there is always an error when connection is bound:

javax.naming.NamingException: No authentification handler
 at
org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.doBind(JNDIConnectionWrapper.java:926)
 at
org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.bind(JNDIConnectionWrapper.java:206)

When "org.apache.directory.studio.connection.ui" is loaded just before
JNDIConnectionWrapper.bind() is called, this error will not occur.

It seems that connection.core somehow depends on connection.ui.

So, what is the preferred way of using just the core plugins without ui?

Mime
View raw message