/*
    public void testPasswordComparisonSucceeds() throws Exception    {        /*        Hashtable env = configuration.toJndiEnvironment();        env.put( Context.INITIAL_CONTEXT_FACTORY, CoreContextFactory.class.getName() );        env.put( Context.PROVIDER_URL, "ou=system" );        DirContext ctx = new InitialDirContext( env );        SearchControls ctls = new SearchControls();        ctls.setReturningAttributes( new String[0] );        ctls.setSearchScope( SearchControls.OBJECT_SCOPE );        String filter = "(userPassword={0})";        NamingEnumeration results = ctx.search( "uid=bob,ou=people", filter, new Object[]            { "bobspassword".getBytes( "UTF-8" ) }, ctls );        // We should have a match        assertTrue( results.hasMore() );        */    }