10 Apr, 2013
3 commits
-
Fixed issues with two consecutive spaces appearing in the access log. AbstractTextAccessLogPublisherTest.java: ADDED AbstractTextAccessLogPublisher.java: Made RootFilter.isLoggable() defaut visibility to allow unit testing git-svn-id: https://svn.forgerock.org/opendj/trunk@8722 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Output an error JSON document in case of authentication failure. CollectClientConnectionsFilter.java: In sendUnauthorizedResponseWithHTTPBasicAuthChallenge(), send a JSON document to the caller to bring the HTTP Connection Handler at par with the gateway. CollectClientConnectionsFilterTest.java: Updated tests. git-svn-id: https://svn.forgerock.org/opendj/trunk@8718 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
build.xml: Added code to automatically append the classpath entries to the **/Info.plist files for MacOS X. This includes the classes directory and all the jars too. Info.plist: Removed hardcoded paths. Added classes directory first in the classpath to allow patches to work. git-svn-id: https://svn.forgerock.org/opendj/trunk@8717 41b1ffd8-f28e-4786-ab96-9950f0a78031
09 Apr, 2013
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8716 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8714 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8713 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8712 41b1ffd8-f28e-4786-ab96-9950f0a78031
08 Apr, 2013
5 commits
-
Resolve race condition in Windows Services when stopping the server. git-svn-id: https://svn.forgerock.org/opendj/trunk@8705 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… the HTTP connection handler SdkConnectionAdapter.java: Implemented all operations. I could test REST create and delete operations. git-svn-id: https://svn.forgerock.org/opendj/trunk@8704 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… config settings to latest recommendations / expected machine capabilities. * db-evictor-lru-only - change to false (depth based then lru) since it exhibits better behavior in partially cached deployments and does not impact cases where the DB is fully cached * db-log-file-max - increase back to 100MB due to recent improvements in JE which mean that smaller file sizes are no longer needed. Bigger log files means less of them, less frequent fsyncs, and less FDs * db-checkpointer-bytes-interval - increased to 500MB. The increased recovery time is minimal and a bigger checkpoint interval dramatically reduces the risk of persisting volatile data to disk * disk-low-threshold - updated to 200MB to align with increased log file size * disk-full-threshold - updated to 100MB to align with increased log file size git-svn-id: https://svn.forgerock.org/opendj/trunk@8703 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… config settings to latest recommendations / expected machine capabilities. * update JE to 5.0.73 git-svn-id: https://svn.forgerock.org/opendj/trunk@8702 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8701 41b1ffd8-f28e-4786-ab96-9950f0a78031
05 Apr, 2013
4 commits
-
AttributeBuilder.java: Added method add(ByteString) - to be used with the adapters' Converters class. AttributeBuilderTest.java: Added test method testAttributeBuilderAddByteString(). Suppressed javadoc warnings + removed javadoc for exceptions. git-svn-id: https://svn.forgerock.org/opendj/trunk@8697 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Making checkstyle happy. git-svn-id: https://svn.forgerock.org/opendj/trunk@8696 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Making checkstyle happy. git-svn-id: https://svn.forgerock.org/opendj/trunk@8695 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@8694 41b1ffd8-f28e-4786-ab96-9950f0a78031
04 Apr, 2013
6 commits
-
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
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8687 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
1 commit
-
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
1 commit
-
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
28 Mar, 2013
2 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
27 Mar, 2013
1 commit
-
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
6 commits
-
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
-
Code cleanup: Changed code from using AbstractOperation abstract class to using Operation interface instead. Operation.java Now extends Runnable. OperationWrapper.java Consequence of the change to Operation.java. WorkQueue.java: In submitOperation(), used Operation interface instead of AbstractOperation abstract class. DirectoryServer.java: In enqueueRequest() used Operation interface instead of AbstractOperation abstract class. Removed CLASS_NAME constant, used this class's name in getClassName(). ParallelWorkerThread.java: Changed instance member operation from AbstractOperation abstract class to Operation interface. ParallelWorkQueue.java: Changed instance member opQueue from ConcurrentLinkedQueue<AbstractOperation> to ConcurrentLinkedQueue<Operation>. In submitOperation(), nextOperation() and retryNextOperation(), used Operation interface instead of AbstractOperation abstract class. TraditionalWorkerThread.java Changed instance member operation from AbstractOperation abstract class to Operation interface. In shutDown() used Operation interface instead of AbstractOperation abstract class. TraditionalWorkQueue.java Changed instance member opQueue from LinkedBlockingQueue<AbstractOperation> to LinkedBlockingQueue<Operation>. In initializeWorkQueue(), submitOperation(), nextOperation(), retryNextOperation() and applyConfigurationChange(), used Operation interface instead of AbstractOperation abstract class. In applyConfigurationChange(), remove a duplicate condition check. All files: Converted java comments to javadocs. Added @Override annotations. git-svn-id: https://svn.forgerock.org/opendj/trunk@8651 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…able to modify entries git-svn-id: https://svn.forgerock.org/opendj/trunk@8649 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8646 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
HTTPConnectionHandlerConfiguration.xml: Removed the advanced attribute from ds-cfg-config-file property. This should be accessible from normal use. git-svn-id: https://svn.forgerock.org/opendj/trunk@8644 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Fixing nightly build. git-svn-id: https://svn.forgerock.org/opendj/trunk@8643 41b1ffd8-f28e-4786-ab96-9950f0a78031
25 Mar, 2013
5 commits
-
Added support for using the Rest2LDAP servlet from OpenDJ HTTPConnectionHandler. HTTPConnectionHandler.java: Added support for using the Rest2LDAP servlet + removed the FakeServlet. Added the JSON_MAPPER constant to parse the JSON config file for Rest2LDAP. Added getClientConnectionsMap() getter. Added getConnectionFactory() method, heavily inspired from org.forgerock.opendj.rest2ldap.servlet.Rest2LDAPConnectionFactoryProvider.getConnectionFactory(). In startHttpServer(), silenced Grizzly logging + set the IOThreadStrategy to be single threaded + changed the access path to the servlet. CollectClientConnectionsFilter.java: Added support for using the Rest2LDAP servlet. Removed clientConnections instance member, now get this value from the HTTPConnectionHandler. config.ldif, 02-config.ldif, HTTPConnectionHandlerConfiguration.xml, HTTPConnectionHandlerCfgDefn.properties: Added ds-cfg-config-file property to ds-cfg-http-connection-handler objectClass. http-config.json: ADDED (copied from opendj-rest2ldap-servlet project) ivy.xml: Added dependencies to Rest2LDAP. ivysettings.xml: Added support for updating SNAPSHOTS. git-svn-id: https://svn.forgerock.org/opendj/trunk@8638 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
InternalClientConnection.java: Removed redundant code that duplicates work already done by AbstractOperation's constructor. git-svn-id: https://svn.forgerock.org/opendj/trunk@8637 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Fixing build. git-svn-id: https://svn.forgerock.org/opendj/trunk@8634 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Fixing build. git-svn-id: https://svn.forgerock.org/opendj/trunk@8633 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
TLSByteChannel.java: Extracted static method getSSF() to allow testing. Modified CIPHER_MAP: added WITH_ARIA_256, WITH_ARIA_128 + removed the modes of operation CBC and GCM at the end of some cipher names + removed subsequent duplicates, sorted by SSF size descending (moved WITH_3DES_EDE) + fixed overlapping bug with WITH_DES and WITH_DES_CBC_40. TLSByteChannelTestCase.java: ADDED git-svn-id: https://svn.forgerock.org/opendj/trunk@8632 41b1ffd8-f28e-4786-ab96-9950f0a78031
22 Mar, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8630 41b1ffd8-f28e-4786-ab96-9950f0a78031
21 Mar, 2013
1 commit
-
build.xml: By popular demand, stripped out the version number from the jars under the lib directory. This way, they now have a stable location, whatever the version they are on. git-svn-id: https://svn.forgerock.org/opendj/trunk@8625 41b1ffd8-f28e-4786-ab96-9950f0a78031