directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S├ębastien Bahloul <sebastien.bahl...@gmail.com>
Subject Some improvements ideas
Date Fri, 28 Oct 2011 08:39:45 GMT
Hi guys,

First of all, just a word to say thank you about the great job you're doing
!

I'm looking to the API and I found several things that should look bizarre
or not enough documented :
- I was not able to find a smart way to check for results availability when
search asynchronously: I need to call
SearchFuture.get(1, TimeUnit.NANOSECONDS) which will launch an exception if
no entry has been already sent back to the client.
- on the PersistentSearchControl, it is not clear the meaning and usage
of ChangeType.ADD regarding ChangeType.ADD_VALUE
- LdapConnection.search() methods return a Cursor<SearchResponse> which is
the generic type of SearchCursor. Could it be possible to change the
Exception returns by SearchCursor.get() to provide a more specific error
because it returns now a java.lang.Exception

If someone of you guys has a minute to give some explanations, it will be
welcomed.

The final target is to move the LSC project to Apache Directory API, and as
you may have understood, I'm currently moving the Syncrepl plugin from
Unbounded ID to Apache Directory API.

Kind regards,
-- 
Sebastien BAHLOUL
IAM / Security specialist
Ldap Synchronization Connector : http://lsc-project.org
Blog : http://sbahloul.wordpress.com/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message