mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
09.00.2013 44f3b3e595c2ad95710bb310f3a485212cb13cb0
Partial fix for OPENDJ-856: Make Rest2LDAP close the cached authenticated connection

* move ConnectionDecorator to org.* and rename to AbstractConnectionWrapper.
1 files modified
4 ■■■■ changed files
opendj3/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/AuthenticatedConnectionFactory.java 4 ●●●● patch | view | raw | blame | history
opendj3/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/AuthenticatedConnectionFactory.java
@@ -28,6 +28,7 @@
package com.forgerock.opendj.ldap.tools;
import org.forgerock.opendj.ldap.Connection;
import org.forgerock.opendj.ldap.AbstractConnectionWrapper;
import org.forgerock.opendj.ldap.ConnectionFactory;
import org.forgerock.opendj.ldap.ErrorResultException;
import org.forgerock.opendj.ldap.FutureResult;
@@ -36,7 +37,6 @@
import org.forgerock.opendj.ldap.requests.BindRequest;
import org.forgerock.opendj.ldap.responses.BindResult;
import com.forgerock.opendj.util.ConnectionDecorator;
import com.forgerock.opendj.util.FutureResultTransformer;
import com.forgerock.opendj.util.RecursiveFutureResult;
import com.forgerock.opendj.util.Validator;
@@ -67,7 +67,7 @@
     * An authenticated connection supports all operations except Bind
     * operations.
     */
    static final class AuthenticatedConnection extends ConnectionDecorator {
    static final class AuthenticatedConnection extends AbstractConnectionWrapper {
        private final BindRequest request;