protected LdapContext setSysRoot( Hashtable env ) throws NamingException
protected LdapContext setSysRoot( String user, String passwd ) throws NamingException
    protected LdapContext setSysRoot( Hashtable env ) throws NamingException    {        Hashtable envFinal = new Hashtable();        envFinal.putAll( extras );        envFinal.putAll( env );        envFinal.put( Context.PROVIDER_URL, "ou=system" );        envFinal.put( EnvKeys.WKDIR, "target" + File.separator + "apacheds" );        envFinal.put( Context.INITIAL_CONTEXT_FACTORY, "org.apache.ldap.server.jndi.ServerContextFactory" );        envFinal.putAll( overrides );        return sysRoot = new InitialLdapContext( envFinal, null );    }