05 Apr, 2013
2 commits
-
Implemented authentication with a synchronous username search + bind. To come next: asynchronous username search + bind. HTTPAuthenticationConfig.java: ADDED build.xml, ivy.xml: Added some tests jars + updated grizzly to the newly released 2.3 stable version. CollectClientConnectionsFilter.java: Added HTTPAuthenticationConfig instance member to configure the HTTP auth from the JSON file. Added many methods to handle HTTP auth in a synchronous way. Will have to change this code to run asynchronously for performance. HTTPClientConnection.java: Changed a few signatures and types to handle more than Search operations. HTTPConnectionHandler.java: Added methods parseJsonConfiguration(), getAuthenticationConfig(), asString() and asBool() to read the config for HTTP Authentication. SdkConnectionAdapter.java: Handled several messages being sent through the same connection. Extracted methods enqueueOperation() from searchAsync(). Implemented bindAsync(). Adapters.java, Converters.java: Added new conversion methods. Renamed local variables to correctly use camel case. ConvertersTestCase.java: Removed try / catch / empty anti pattern. git-svn-id: https://svn.forgerock.org/opendj/trunk@8694 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Implemented authentication with a synchronous username search + bind. To come next: asynchronous username search + bind. HTTPAuthenticationConfig.java: ADDED build.xml, ivy.xml: Added some tests jars + updated grizzly to the newly released 2.3 stable version. CollectClientConnectionsFilter.java: Added HTTPAuthenticationConfig instance member to configure the HTTP auth from the JSON file. Added many methods to handle HTTP auth in a synchronous way. Will have to change this code to run asynchronously for performance. HTTPClientConnection.java: Changed a few signatures and types to handle more than Search operations. HTTPConnectionHandler.java: Added methods parseJsonConfiguration(), getAuthenticationConfig(), asString() and asBool() to read the config for HTTP Authentication. SdkConnectionAdapter.java: Handled several messages being sent through the same connection. Extracted methods enqueueOperation() from searchAsync(). Implemented bindAsync(). Adapters.java, Converters.java: Added new conversion methods. Renamed local variables to correctly use camel case. ConvertersTestCase.java: Removed try / catch / empty anti pattern. git-svn-id: https://svn.forgerock.org/opendj/trunk@8693 41b1ffd8-f28e-4786-ab96-9950f0a78031
04 Apr, 2013
10 commits
-
Code review: Matthew SearchScope.java: Added valueOf(String). SearchScopeTestCase.java: ADDED git-svn-id: https://svn.forgerock.org/opendj/trunk@8692 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8691 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8690 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8689 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* forgot to add "useSubtreeDelete" option to /groups resource in sample JSON config git-svn-id: https://svn.forgerock.org/opendj/trunk@8688 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8687 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ssible additional volatile read. git-svn-id: https://svn.forgerock.org/opendj/trunk@8686 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Removed unused import. git-svn-id: https://svn.forgerock.org/opendj/trunk@8685 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Extracted method canProcessRequest() from doFilter(). git-svn-id: https://svn.forgerock.org/opendj/trunk@8684 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added NO_ATTRIBUTES for OID "1.1". Used SchemaConstants.NO_ATTRIBUTES throughout OpenDJ server's code. git-svn-id: https://svn.forgerock.org/opendj/trunk@8683 41b1ffd8-f28e-4786-ab96-9950f0a78031
03 Apr, 2013
9 commits
-
* add MVCC support git-svn-id: https://svn.forgerock.org/opendj/trunk@8682 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* implement basic delete support git-svn-id: https://svn.forgerock.org/opendj/trunk@8681 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* invoke result handlers outside of locks in order to avoid potential deadlocks when chaining updates from within a search result handler * remove read lock. git-svn-id: https://svn.forgerock.org/opendj/trunk@8680 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* add some basic unit tests git-svn-id: https://svn.forgerock.org/opendj/trunk@8679 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8678 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8677 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8676 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* add Iterables.isEmpty() and Iterables.size() and modify AttributeFilter to use Iterables.size() - as per suggestion from Jean-Noel. git-svn-id: https://svn.forgerock.org/opendj/trunk@8675 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This adds more semantic before adding opendj.test.jars too. git-svn-id: https://svn.forgerock.org/opendj/trunk@8674 41b1ffd8-f28e-4786-ab96-9950f0a78031
02 Apr, 2013
2 commits
-
* add types only support for searches * make attribute filtering easier to debug by adding toString() method to returned iterables. git-svn-id: https://svn.forgerock.org/opendj/trunk@8673 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Adding back offline building despite checking for the latest snapshot jars. Example command line to invoke for building offline: ant resolve -Dbuild.offline= git-svn-id: https://svn.forgerock.org/opendj/trunk@8672 41b1ffd8-f28e-4786-ab96-9950f0a78031
29 Mar, 2013
6 commits
-
* add attribute filtering support to memory backend. git-svn-id: https://svn.forgerock.org/opendj/trunk@8671 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8670 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* add another internal connection method to make it easier to bind connections to the memory backend during testing. git-svn-id: https://svn.forgerock.org/opendj/trunk@8669 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* remove very many duplicated or unnecessary Javadoc comments git-svn-id: https://svn.forgerock.org/opendj/trunk@8668 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* add java.io.Reader and java.io.Writer based constructors to LDIF readers and writers * remove very many duplicated or unnecessary Javadoc comments git-svn-id: https://svn.forgerock.org/opendj/trunk@8667 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8666 41b1ffd8-f28e-4786-ab96-9950f0a78031
28 Mar, 2013
4 commits
-
Implemented async search operation. Added support for canceling tasks. SdkConnectionAdapter.java: ADDED CollectClientConnectionsFilter.java: Hooked the async implementation instead of the synchronous InternalClientConnection. HTTPClientConnection.java: Implemented sendResponse(), sendSearchEntry(), sendSearchReference(), disconnect(), getOperationsInProgress(), getOperationInProgress(), removeOperationInProgress(), cancelOperation(), cancelAllOperations(), cancelAllOperationsExcept(), getNumberOfOperations(). Added addOperationInProgress() and isConnectionValid(). procotol*.properties: Renamed MILD_WARN_LDAP_CLIENT_DISCONNECT_IN_PROGRESS_166 to MILD_WARN_CLIENT_DISCONNECT_IN_PROGRESS_166. Removed INFO_HTTP_CONNHANDLER_STARTTLS_NOT_SUPPORTED_1515. git-svn-id: https://svn.forgerock.org/opendj/trunk@8665 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8664 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* add more internal connection factory methods to make it easier to bind connections to the memory backend during testing. git-svn-id: https://svn.forgerock.org/opendj/trunk@8663 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* added class MemoryBackend * added Entries.modifyEntry() and included support for increment * added Connection.deleteSubtree() * added Request.containsControl() and Response.containsControl() * aligned attributes APIs in Post/Pre read controls with SearchRequest (i.e. use List) * refactored server example to use new memory backend git-svn-id: https://svn.forgerock.org/opendj/trunk@8662 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Mar, 2013
5 commits
-
AsynchronousFutureResult.java: getRequestHandler() => getResultHandler() git-svn-id: https://svn.forgerock.org/opendj/trunk@8661 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
AsynchronousFutureResult.java: Added a generic type parameter for the ResultHandler. Added getRequestHandler() method. Made all the necessary changes due to introducing this change. git-svn-id: https://svn.forgerock.org/opendj/trunk@8660 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
AsynchronousFutureResult.java: Added a generic type parameter for the ResultHandler. Added getRequestHandler() method. Made all the necessary changes due to introducing this change. git-svn-id: https://svn.forgerock.org/opendj/trunk@8659 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Tested on Servlet 2.x and 3.0. git-svn-id: https://svn.forgerock.org/opendj/trunk@8658 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Fixing nightly build, hopefully this time it will be good. git-svn-id: https://svn.forgerock.org/opendj/trunk@8655 41b1ffd8-f28e-4786-ab96-9950f0a78031
26 Mar, 2013
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8653 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Code cleanup: More AbstractOperation => Operation. Converted java comments to javadocs. Added @Override annotations. git-svn-id: https://svn.forgerock.org/opendj/trunk@8652 41b1ffd8-f28e-4786-ab96-9950f0a78031