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
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
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6661 41b1ffd8-f28e-4786-ab96-9950f0a78031
06 Nov, 2010
2 commits
-
* Improve accuracy of -I option in authrate. (sync from OpenDS, matthew_swift) git-svn-id: https://svn.forgerock.org/opendj/trunk@6656 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… filter that can lead to NPEs. (Sync from OpenDS, matthew_swift) git-svn-id: https://svn.forgerock.org/opendj/trunk@6655 41b1ffd8-f28e-4786-ab96-9950f0a78031
04 Nov, 2010
2 commits
-
…ormat so that they can be easily imported in tools such as spreadsheets. The CSV format includes an additional column (the first column) which is the time in seconds since the start of the test run. git-svn-id: https://svn.forgerock.org/opendj/trunk@6651 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6650 41b1ffd8-f28e-4786-ab96-9950f0a78031
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
28 Oct, 2010
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6644 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6643 41b1ffd8-f28e-4786-ab96-9950f0a78031
26 Oct, 2010
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6639 41b1ffd8-f28e-4786-ab96-9950f0a78031
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
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
-
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
19 Oct, 2010
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6634 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6633 41b1ffd8-f28e-4786-ab96-9950f0a78031
18 Oct, 2010
1 commit
-
…. Added authrate performance utility. git-svn-id: https://svn.forgerock.org/opendj/trunk@6624 41b1ffd8-f28e-4786-ab96-9950f0a78031
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
-
* 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
20 Sep, 2010
1 commit
-
… bind request objects. git-svn-id: https://svn.forgerock.org/opendj/trunk@6605 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Sep, 2010
1 commit
-
- maxIteration is now for the entire run - Better error handling with the --argument option git-svn-id: https://svn.forgerock.org/opendj/trunk@6585 41b1ffd8-f28e-4786-ab96-9950f0a78031
15 Sep, 2010
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6584 41b1ffd8-f28e-4786-ab96-9950f0a78031
09 Sep, 2010
2 commits
-
* provide hasNext() method for determining if there are any more results available * provide isReference() and readReference() methods in ConnectionEntryReader so that applications can avoid additional try...catch complexity. git-svn-id: https://svn.forgerock.org/opendj/trunk@6582 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6581 41b1ffd8-f28e-4786-ab96-9950f0a78031
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
01 Jul, 2010
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6534 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6533 41b1ffd8-f28e-4786-ab96-9950f0a78031
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
08 Jun, 2010
2 commits
-
…rt for empty attributes to LDIFWriter. This was preventing types-only from working in searches. git-svn-id: https://svn.forgerock.org/opendj/trunk@6502 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…d thus does not respect Entry interface. Since the SearchResultEntryImpl is just a wrapper on an Entry object, use the equals and hashCode methods of the Entry object to implement the equals and hashCode methods of SearchResultEntryImpl. git-svn-id: https://svn.forgerock.org/opendj/trunk@6501 41b1ffd8-f28e-4786-ab96-9950f0a78031
28 May, 2010
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6441 41b1ffd8-f28e-4786-ab96-9950f0a78031
25 Jan, 2010
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6385 41b1ffd8-f28e-4786-ab96-9950f0a78031
21 Jan, 2010
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6375 41b1ffd8-f28e-4786-ab96-9950f0a78031
11 Jan, 2010
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6333 41b1ffd8-f28e-4786-ab96-9950f0a78031
08 Jan, 2010
1 commit
-
* fix unit tests * remove TODOs from Javadoc (issues are now in Issue Tracker) git-svn-id: https://svn.forgerock.org/opendj/trunk@6329 41b1ffd8-f28e-4786-ab96-9950f0a78031
22 Dec, 2009
3 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6308 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Moved heart beat back to heart beat connection factory from isValid method. git-svn-id: https://svn.forgerock.org/opendj/trunk@6307 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6301 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Dec, 2009
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6291 41b1ffd8-f28e-4786-ab96-9950f0a78031
16 Dec, 2009
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6289 41b1ffd8-f28e-4786-ab96-9950f0a78031