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?

Reply via email to