EveLdapContext ctx = ( EveLdapContext ) setSysRoot( new Hashtable() );
InitialLdapContext ctx = ( InitialLdapContext ) setSysRoot( new Hashtable() );
    public void test7BuildDbNoPassNoPrincAuthNoneAnonOff() throws Exception    {        // clean out the database        tearDown();        doDelete( new File( "target" + File.separator + "eve" ) );        // ok this should start up the system now as admin        EveLdapContext ctx = ( EveLdapContext ) setSysRoot( new Hashtable() );        assertNotNull( ctx );        // now go in as anonymous user and we should be rejected        Hashtable env = new Hashtable();        env.put( Context.PROVIDER_URL, "ou=system" );        env.put( Context.SECURITY_AUTHENTICATION, "none" );        env.put( Context.INITIAL_CONTEXT_FACTORY, "org.apache.eve.jndi.EveContextFactory" );        try        {            new InitialContext( env );            fail( "should never get here due to an exception" );        }        catch ( NoPermissionException e )        {        }    }