18 Apr, 2013
3 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8770 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8769 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…nup after application exit git-svn-id: https://svn.forgerock.org/opendj/trunk@8768 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Apr, 2013
5 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8766 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8765 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8764 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
StaticUtils.java: Added sleep(long). HTTPConnectionHandler.java, LDAPConnectionHandler.java: Used StaticUtils.sleep(long). git-svn-id: https://svn.forgerock.org/opendj/trunk@8760 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Explain that when adding an attribute for the referential integrity plugin, OpenDJ requires that the attribute be indexed for equality and that the attribute have DN syntax. git-svn-id: https://svn.forgerock.org/opendj/trunk@8758 41b1ffd8-f28e-4786-ab96-9950f0a78031
16 Apr, 2013
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8755 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8753 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Improved error reporting to the client: Internal exceptions are now returned to the client as such. This simplified the error handling code. CollectClientConnectionsFilter.java: Renamed sendUnauthorizedResponseWithHTTPBasicAuthChallenge() to sendErrorResponse(). Extracted more generic method toJSON() from sendErrorResponse(). Removed several try / catch + logging and replaced them with throwing the exception up. HTTPClientConnection.java: A connection is now valid by default (doh!) CollectClientConnectionsFilterTest.java: Updated the tests. git-svn-id: https://svn.forgerock.org/opendj/trunk@8752 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
OperationWrapper.java: Generecized the type of the wrapped operation. Added protected method getOperation() that returns the wrapped operation. AddOperationWrapper.java, BindOperationWrapper.java, CompareOperationWrapper.java, DeleteOperationWrapper.java, ModifyDNOperationWrapper.java, ModifyOperationWrapper.java, SearchOperationWrapper.java: Added the generic type to the superclass OperationWrapper. Got rid of specific instance members to old the operation with the correct type and called getOperation() instead. git-svn-id: https://svn.forgerock.org/opendj/trunk@8749 41b1ffd8-f28e-4786-ab96-9950f0a78031
15 Apr, 2013
9 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8748 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
CR-1544. git-svn-id: https://svn.forgerock.org/opendj/trunk@8747 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… the HTTP connection handler Added logging for CONNECT / DISCONNECT operations. All LDAP inner operations are already logged. Ensured the inner operations are not logged by default. LDAPClientConnection.java, LDAPConnectionHandler.java: Moved the disconnect logging from LDAPClientConnection ctor to LDAPConnectionHandler.acceptConnection() in line with other calls to disconnect logging. HTTPClientConnection.java: Moved the disconnect logging from HTTPClientConnection ctor to CollectClientConnectionsFilter..doFilter() in line with other calls to disconnect logging. In sendIntermediateResponseMessage(), throw an exception. In disconnect(), removed the connection from the connection handler + log the disconnect. HTTPConnectionHandler.java: Added addClientConnection() and removeClientConnection(). CollectClientConnectionsFilter.java: In doFilter(), called HTTPConnectionHandler.addClientConnection() and do not remove the client connection because it is removed when Rest2LDAP calls Connection.close() + called logConnect() + call client disconnect if we sent back the unauthorized status code. ClientConnection.java Added isInnerConnection(). Operation.java, AbstractOperation.java, OperationWrapper.java: Added isInnerOperation() and setInnerOperation(). AbstractTextAccessLogPublisher.java: Called Operation.isInnerOperation() and ClientConnection.isInnerConnection() instead of checking the connectionID. AbstractTextAccessLogPublisherTest.java: Updated the test. SdkConnectionAdapter.java In enqueueOperation(), setInnerOperation(). In close(UnbindRequest, String), do not issue run the UnbindOperation if we were not authenticated, but issue a disconnect log message. git-svn-id: https://svn.forgerock.org/opendj/trunk@8746 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8745 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8744 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Removed unused import. git-svn-id: https://svn.forgerock.org/opendj/trunk@8743 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8742 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8741 41b1ffd8-f28e-4786-ab96-9950f0a78031
12 Apr, 2013
6 commits
-
…and post- read controls git-svn-id: https://svn.forgerock.org/opendj/trunk@8739 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Committing automated changes before real changes. Converted normal comments to javadocs. Removed abstract method declarations that are duplicating those from the interface. Operation.java: Moved run() here from AbstractOperation. git-svn-id: https://svn.forgerock.org/opendj/trunk@8738 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Committing automated changes before real changes. git-svn-id: https://svn.forgerock.org/opendj/trunk@8737 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8736 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8735 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added the possibility for the HTTP Connection Handler to accept unauthenticated requests. CollectClientConnectionsFilter.java: Extracted method getAuthenticationInfo() and added support for unauthenticated requests here. CollectClientConnectionsFilterTest.java: Added tests. HTTPConnectionHandler.java: Added acceptUnauthenticatedRequests(). config.ldif, 02-config.ldif, HTTPConnectionHandlerConfiguration.xml, HTTPConnectionHandlerCfgDefn.properties: Added property 'ds-cfg-authentication-required' with default 'true' to HTTP Connection Handler git-svn-id: https://svn.forgerock.org/opendj/trunk@8733 41b1ffd8-f28e-4786-ab96-9950f0a78031
11 Apr, 2013
7 commits
-
* add unit tests which expose the problem git-svn-id: https://svn.forgerock.org/opendj/trunk@8732 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8731 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8730 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8729 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8728 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
create-webstart-standalone.sh: Iterate over the JARs in the lib directory in order to dynamically build the list of JARs. Note: 'ant resolve' must be run prior to running this script when running this script from an svn checkout. It is like this since Apache Ivy has been added and JARs have been removed from the 'lib' directory. git-svn-id: https://svn.forgerock.org/opendj/trunk@8727 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* add more unit tests and fix bugs * extract common code from SimpleAttributeMapper and ReferenceAttributeMapper into AbstractLDAPAttributeMapper git-svn-id: https://svn.forgerock.org/opendj/trunk@8726 41b1ffd8-f28e-4786-ab96-9950f0a78031
10 Apr, 2013
6 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8725 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8724 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8723 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
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
-
* align default settings for subtree delete and permissive modify controls with the default permissions in OpenDJ 2.5 git-svn-id: https://svn.forgerock.org/opendj/trunk@8721 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* add support for all attribute mappers git-svn-id: https://svn.forgerock.org/opendj/trunk@8720 41b1ffd8-f28e-4786-ab96-9950f0a78031