@Override
    public Map<String, Object> getServerConfig() {
        final Map<String, Object> config = new HashMap<String, Object>();
        config.put(LDAPServer.ROOT, rootDn);
        if (objectClasses != null) {
            config.put(LDAPServer.OBJECT_CLASSES, objectClasses.split(","));
        }
        config.put(LDAPServer.WORK_DIR, new File(outputDirectory, serverType));
        if (ldifFile != null) {
            config.put(LDAPServer.LDIF_FILE, ldifFile);
        }
        config.put(LDAPServer.LDAP_PORT, ldapPort);
        config.put(LDAPServer.AUTH_DN, authDn);
        config.put(LDAPServer.PASSWD, passwd);
        return config;
    }
@Override
    public Map<String, Object> getServerConfig() {
        final Map<String, Object> config = new HashMap<String, Object>();
        config.put(LDAPServer.ROOT, rootDn);
        if (objectClasses != null) {
            config.put(LDAPServer.OBJECT_CLASSES, objectClasses.split(","));
        }
        config.put(LDAPServer.WORK_DIR, new File(outputDirectory, serverType));
        if (ldifFile != null) {
            config.put(LDAPServer.LDIF_FILE, ldifFile);
        }
        config.put(LDAPServer.LDAP_PORT, ldapPort);
        config.put(LDAPServer.AUTH_DN, authDn);
        config.put(LDAPServer.PASSWD, passwd);
        return config;
    }
@ Override public Map < String , Object > getServerConfig ( ) { final Map < String , Object > config = new HashMap < String , Object > ( ) ; config . put ( LDAPServer . ROOT , rootDn ) ; if ( objectClasses != null ) { config . put ( LDAPServer . OBJECT_CLASSES , objectClasses . split ( "," ) ) ; } config . put ( LDAPServer . WORK_DIR , new File ( outputDirectory , serverType ) ) ; if ( ldifFile != null ) { config . put ( LDAPServer . LDIF_FILE , ldifFile ) ; } config . put ( LDAPServer . LDAP_PORT , ldapPort ) ; config . put ( LDAPServer . AUTH_DN , authDn ) ; config . put ( LDAPServer . PASSWD , passwd ) ; return config ; }
Get the embedded LDAP directory server configuration.

@return A {@link Map} containing the server configuration.
Get the embedded LDAP directory server configuration .