20 Jul, 2015

1 commit

  • * Note that this migration just solved compilation issues, it does not try to take benefits from the apis enhancements.
    * The major change is that org.forgerock.opendj.ldap.ResultHandler has been renamed to org.forgerock.opendj.ldap.LdapResultHandler.java to prevent conflicts with the org.forgerock.util.promise.ResultHandler
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12687 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     

01 Jun, 2015

1 commit


28 May, 2015

2 commits


28 Apr, 2015

1 commit


18 Mar, 2015

1 commit


29 Jan, 2015

1 commit


28 Nov, 2014

1 commit


27 Nov, 2014

1 commit

  • …actory and GrizzlyLDAPConnectionFactory
    
    To avoid code duplication and makes API more fluent, we have merged HBCF, ACF and GCF by creating an AbstractLdapConnectionFactoryImpl.
    The new connection skeletal associated is AbstractLdapConnectionImpl.
    This is a sub-optimal solution, there is still some concurrency issues to address in AbstractLdapConnecitonImpl.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@11348 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     

24 Nov, 2014

1 commit


13 Nov, 2014

1 commit


30 Oct, 2014

1 commit

  • Collapsed else { if (...){...} }  into else if (...) {...}
    Reversed boolean equals conditions using constants.
    
    In tests, used the correct assert*() methods.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@11224 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

21 Oct, 2014

2 commits


20 Oct, 2014

2 commits


16 Oct, 2014

1 commit


15 Oct, 2014

1 commit


29 Sep, 2014

1 commit

  • * org.forgerock.opendj.ldap package:
    ** Rename FutureResult to LdapPromise
    ** Rename FutureResultImpl to LdapPromiseImpl and move it to org.forgerock.opendj.ldap.spi
    ** Rename the util class FutureResultWrapper to LdapPromises and move it to org.forgerock.opendj.ldap.spi package 
    ** Solve some bugs in HeartBeatConnectionFactory class
    
    org.forgerock.opendj.ldap.spi
    ** Merge old LDAPFutureResultImpl and AbstractLDAPFutureResultImpl and rename it as ResultLdapPromiseImpl
    ** Remove AbstractLDAPFutureResultImpl, LDAPFutureResultImpl and LDAPCompareFutureResultImpl
    ** Rename LDAP[Bind | Extended | Search]FutureResultImpl to [Bind | Extended | Search]ResultLdapPromiseImpl
    ** Add static methods in LdapPromises to return *LdapPromiseImpl instances
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@11065 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     

19 Sep, 2014

1 commit


15 Sep, 2014

1 commit

  • Connection, ConnectionFactory, ResultHandler and SearchResultHandler public APIs have been changed.
    * Connection.java
      In all xxxAsync method, the final handler parameter will be removed and the client is expected to register the handler with the returned promise. For search request, a SearchResultHandler is still required because it needs to handle search result entries/references.
    
    * ConnectionFactory.java
      In the method getConnectionAsync(), the final handler parameter will be removed.
    
    * ResultHandler.java
      Now extends SuccessHandler and FailureHandler in order to allow usage of then() method call.
    
    * SearchResultHandler.java
      Remove the inheritance link with ResultHandler. So client needs to register a ResultHandler instance when he calls searchAsync in addition to register a SearchResultHandler.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@11001 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     

22 May, 2014

2 commits


28 Feb, 2014

2 commits


27 Feb, 2014

2 commits


06 Feb, 2014

1 commit


05 Feb, 2014

2 commits

  • 
    ASN1 classes logging is throwing an UnsupportedOperationException while being used in the server. This exception is thrown by OpenDJLoggerAdapter from the opendj-slf4j-adapter in use in the server.
    Changed OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api (at least for IO category).
    More work remains to switch all OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api.
    
    
    StaticUtils.java, *.java:
    Removed DEFAULT_LOG and DEFAULT_LOGGER_NAME + replaced every uses of it by using per class LocalizedLoggers.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10279 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • 
    ASN1 classes logging is throwing an UnsupportedOperationException while being used in the server. This exception is thrown by OpenDJLoggerAdapter from the opendj-slf4j-adapter in use in the server.
    Changed OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api (at least for IO category).
    More work remains to switch all OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api.
    
    
    StaticUtils.java, *.java:
    Removed IO_LOG + replaced every uses of it by using per class LocalizedLoggers.
    
    pom.xml:
    Added a compile time dependency to 18n-slf4j.
    
    OpenDJLoggerAdapter.java:
    Removed an empty line.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10274 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

04 Feb, 2014

1 commit

  • Code review: Matthew Swift
    
    Preparation work to allow opendj3-server-dev branch to use the SDK ASN1 types.
    
    ASN1.java:
    Added UNIVERSAL_BIT_STRING_TYPE.
    Reordered the UNIVERSAL_* fields.
    Made a few TYPE_MASK_* public.
    Added getWriter(ByteStringBuilder, int maxBufferSize)
    Added getWriter(OutputStream, int maxBufferSize)
    
    ASN1Reader.java, ASN1*Reader:
    Added readEndExplicitTag() and readStartExplicitTag().
    
    ASN1OutputStreamWriter.java, ASN1OutputStreamWriterTestCase.java:
    Changed ASN1OutputStreamWriter(OutputStream) to ASN1OutputStreamWriter(OutputStream, int maxBufferSize) + updated the test.
    Added maxBufferSize field and used it in writeEndSequence().
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10269 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

16 Jan, 2014

1 commit


08 Jan, 2014

1 commit

  • * rename LDAP{ConnectionFactory|Listener}.getHostname() to getHostName()
    * change LDAP{ConnectionFactory|Listener}.getAddress() to return InetSocketAddresses
    * change constructors to only accept InetSocketAddresses instead of more generic SocketAddress
    * ensure that LDAP{ConnectionFactory|Listener}.getAddress() returns an address which represents the exact socket address passed in during construction, except in the case where a listener is created with port 0 where we return the selected port
    * modify LDAP{ConnectionFactory|Listener}.getHostName() to return whatever was provided as the host name during construction, which may have been a raw IP address. This avoids attempts to perform a reverse DNS lookup in the case where the provided host name was an IP address and, in particular, avoids DNS timeouts in environments where there is no DNS
    * modify client bind processing to use LDAPConnectionFactory.getHostName() as the server name used for SASL authentication, and avoid any potential DNS delays as a result.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10106 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     

19 Dec, 2013

1 commit


12 Dec, 2013

1 commit

  • * fail the connection when a bind or startTLS request times out
    * ensure that abandon requests are sent for other types of operation
    * fix a bug which meant that the timeout checker could fail to enforce timeouts for the first LDAP connection
    * minor improvements: only register connections which have a non-zero timeout; remove duplicate requestID field from LDAP future implementation
    * added unit tests. These tests are a bit too functional at the moment and will be split up in a subsequent change.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9975 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     

09 Dec, 2013

1 commit


27 Nov, 2013

3 commits

  • …runk once the new Maven module and package layout has been validated
    
    * move all classes to public org.* package so that they get Javadoc, except for GrizzlyTransportProvider.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9850 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • …runk once the new Maven module and package layout has been validated
    
    * fix grizzly module site generation
    * add links for sub-module Javadoc
    * add link for server 2x adapter
    * clean up examples site.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9849 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • …runk once the new Maven module and package layout has been validated
    
    * convert opendj-ldap-sdk module into a Maven group (pom + only dependencies)
    * kept old opendj-ldap-sdk site as primary "About" page in order to avoid breaking bookmarks and links. The opendj-core module's site is hidden
    * remove all sub-module site.xml files and instead inherit menus from parent
    * switch SDK Javadoc URLs to point at opendj-core Javadoc since opendj-ldap-sdk Javadoc is stale
    * add simple place holder index.xml.vm site pages for most sub-modules
    * change how we document getting the binaries: instead reference the dependencies report. Although slight less helpful to the reader, at least the links won't become stale.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9845 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     

26 Nov, 2013

1 commit