15 Apr, 2013
8 commits
-
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
9 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
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8719 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
9 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8716 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* exposed intValue method * no need for all() method since applications should use EnumSet factory methods. git-svn-id: https://svn.forgerock.org/opendj/trunk@8715 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
-
(Thanks, Chris Ridd) git-svn-id: https://svn.forgerock.org/opendj/trunk@8711 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8710 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* move ConnectionDecorator to org.* and rename to AbstractConnectionWrapper. git-svn-id: https://svn.forgerock.org/opendj/trunk@8709 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* add Connections.uncloseable(Connection) * move ConnectionDecorator to org.* and rename to AbstractConnectionWrapper. git-svn-id: https://svn.forgerock.org/opendj/trunk@8708 41b1ffd8-f28e-4786-ab96-9950f0a78031
08 Apr, 2013
1 commit
-
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