public boolean isAlive() {
        try {
            return getConnection() != null;
        } catch (final Exception e) {
            return false;
        }
    }
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