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

vharseko
18.47.2017 196abeeef0660082c2053dc7d475f240eca741bc
public abstract class CommonLDAPOptions 
public final class LDAPServerFilter
3 files modified
9 ■■■■■ changed files
opendj-core/src/main/java/org/forgerock/opendj/ldap/CommonLDAPOptions.java 2 ●●● patch | view | raw | blame | history
opendj-grizzly/src/main/java/org/forgerock/opendj/grizzly/LDAPServerFilter.java 2 ●●● patch | view | raw | blame | history
opendj-grizzly/src/test/java/org/forgerock/opendj/grizzly/GrizzlyLDAPListenerTestCase.java 5 ●●●●● patch | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldap/CommonLDAPOptions.java
@@ -24,7 +24,7 @@
/**
 * Common options for LDAP clients and listeners.
 */
abstract class CommonLDAPOptions {
public abstract class CommonLDAPOptions {
    /**
     * Specifies the class loader which will be used to load the
     * {@link org.forgerock.opendj.ldap.spi.TransportProvider TransportProvider}.
opendj-grizzly/src/main/java/org/forgerock/opendj/grizzly/LDAPServerFilter.java
@@ -86,7 +86,7 @@
 * Grizzly filter implementation for decoding LDAP requests and handling server side logic for SSL and SASL operations
 * over LDAP.
 */
final class LDAPServerFilter extends BaseFilter {
public final class LDAPServerFilter extends BaseFilter {
    private final Function<LDAPClientContext,
                           ReactiveHandler<LDAPClientContext, LdapRequestEnvelope, Stream<Response>>,
                           LdapException> connectionHandlerFactory;
opendj-grizzly/src/test/java/org/forgerock/opendj/grizzly/GrizzlyLDAPListenerTestCase.java
@@ -719,9 +719,10 @@
                    new LDAPConnectionFactory(listenerAddr.getHostName(),
                        listenerAddr.getPort()).getConnection();
            failedConnection.close();
            connection.close();
            failedConnection.bind("cn=test", "password".toCharArray());
            failedConnection.close();
            fail("Connection attempt to closed listener succeeded unexpectedly");
        } catch (final ConnectionException e) {
        } catch (final Exception e) {
            // Expected.
        }