22 Dec, 2010

1 commit

  • Use perf-tool transport factory for examples as the default one creates too many threads and uses an inefficient work queue.
    
    Cache normalized AVA attribute values for ordering and equality matches.
    
    Use SameThreadStrategy by default and provide "org.opends.sdk.ldap.transport.useWorkerThreads" boolean property to switch to WorkerThreadStrategy.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6678 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     

06 Dec, 2010

2 commits

  • Update to latest Grizzly.
    Refactor default transport factory implementation so that it does not conflict with transports used by other Grizzly based services (e.g HTTP).
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6662 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     
  • 
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6661 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     

06 Nov, 2010

2 commits


04 Nov, 2010

2 commits


02 Nov, 2010

1 commit

  • Remove Platform class as it is no longer needed.
    Remove all getter methods which return passwords as Strings.
    Replace all setter methods which accept passwords as Strings with methods which accept passwords as char arrays, as per Java API security recommendations.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6646 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     

28 Oct, 2010

2 commits


26 Oct, 2010

1 commit


24 Oct, 2010

1 commit

  • Add deepCopyOfEntry factory methods for Entry implementations.
    Make copyOfXXXRequest / copyOfXXXResponse methods perform deep copies of controls as well as other fields.
    Make unmodifiableXXXRequest / unmodifiableXXXResponse methods return immutable and/or defensive copies of Controls.
    Make copyOfModifyRequest copy Modifications and unmodifiableModifyRequest return immutable Modifications.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6637 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     

22 Oct, 2010

2 commits

  • Added unmodifiable and copyOf response factories.
    Made LinkedHashMapEntry copy constructor perform a deep copy of attributes.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6636 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     
  • Expose Grizzly transport configuration in LDAPOptions and LDAPListenerOptions in order to allow better customization of transport.
    
    Fix a couple of bugs in AuthRate where the -I flag wasn't working very well in bind-only mode (no search).
    
    Avoid displaying help twice when --help option is provided to CLI commands.
    
    Only display error message in CLIs when args are bad, otherwise help information causes the error message to get "lost".
    
    Split request handling part of ServerConnection API out into a super-interface call RequestHandler.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6635 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     

19 Oct, 2010

2 commits


18 Oct, 2010

1 commit


14 Oct, 2010

2 commits

  • * add unit tests for ConnectionEventListeners.
    
    * make HeartBeatConnectionFactory use ScheduledExecutors.
    
    * add AsynchronousConnectionDecorator base implementation to avoid re-implementing delegate methods each time.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6621 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     
  • * Added a method, Entries.diffEntries(Entry,Entry), which returns a ModifyRequest containing the necessary changes to convert the first entry to the second.
    
    * Improvements to the DIGEST-MD5 and GSSAPI SASL bind request interfaces + some bug fixes.
    
    * Expose the LoadBalancingAlgorithm interface and also add support for Round Robin style load balancing to complement the existing Failover algorithm.
    
    * Implement some simple examples: ldap search, ldap modify, async ldap search, an ldap proxy server, and an ldap data store. These can be found in the "examples" directory and are built and included with the SDK zip file as examples.zip.
    
    * Various minor Javadoc improvements and bug fixes.
    
    * Updated to latest Grizzly.
    
    * Added an overview.html file which includes a very simple getting started example as well as pointers to key classes and interfaces (DISCLAIMER: this is just a start).
    
    * Some more unit tests.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6620 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     

20 Sep, 2010

1 commit


17 Sep, 2010

1 commit


15 Sep, 2010

1 commit


09 Sep, 2010

2 commits


01 Sep, 2010

1 commit

  • * Fix for CR 6945479: Creating the Grizzly transport should be done synchronously to ensure only one instance is started.
    * Fix for CR 6945473: checking for expired operation no longer causes race condition with other pendingRequest removals.
    * Fix for CR 6979503: NullPointerException while running searchrate in asynchronous mode
    * Fixed a bug where exceptions encountered when decoding a response might not be exposed.
    * Fixed NPE when using performance tools.
    * Added properties to configure socket options for the default transport. Set SO_LINGER to 0 for ModRate and SearchRate tools.
    * Make SearchResultHandler extend ResultHandler<Result> in order to a) make async search APIs simpler, and b) allow event driven notification of search result/error for synchronous searches.
    * improve generic type bounds for ResultHandlers from ResultHandler<X> to ResultHandler<? super X>
    * add support for close notification to LDAPClientContext
    * fix several FindBugs bugs
    * rename ConnectionEventListener and ServerConnection methods to handleXXX to make the consistent with other handler interfaces.
    * Added ConnectionEntryReader implementation.
    * Add SchemaBuilder(Entry) constructor as an alternative to Schema.valueOf(Entry). Add Schema.toEntry(Entry) method as well for converting Schema objects to entries.
    * Fixed bug in SASL BIND requests.
    * Added SASL BIND test cases
    * Exposed cipher and protocol configuration for establishing LDAPS connections. 
    * Added StartTLS test case
    * Fixed a bug where bind and startTLS operation may be canceled.
    * Updated to latest Grizzly
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6580 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew_swift
     

01 Jul, 2010

2 commits


15 Jun, 2010

1 commit

  • * don't expose toNormalizedString since applications should not depend on the normalized representation (and they invariably will mis-use it)
    
    * change normalized form to be big-endian and replace "," and "+" separators with \u0000 and \u0001 respectively in order to provide a more intuitive ordering, especially in the presence of multiple AVAs.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6505 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew_swift
     

08 Jun, 2010

2 commits


28 May, 2010

1 commit


25 Jan, 2010

1 commit


21 Jan, 2010

1 commit


11 Jan, 2010

1 commit


08 Jan, 2010

1 commit


22 Dec, 2009

3 commits


17 Dec, 2009

1 commit


16 Dec, 2009

1 commit