@Override
    public void close() {
        LOGGER.debug("Shutting down LDAP server...");
        this.directoryServer.closeAllConnections(true);
        this.directoryServer.shutDown(true);
        LOGGER.debug("Shut down LDAP server.");
    }
Instantiates a new Ldap directory server.
Parameters need to be streams so they can be read from JARs.
support/cas-server-support-ldap-core/src/test/java/org/apereo/cas/util/ldap/uboundid/InMemoryTestLdapDirectoryServer.java