public boolean accept( LdapContext ctx, DbSearchResult result, SearchControls controls )
public boolean accept( LdapContext ctx, SearchResult result, SearchControls controls )
        public boolean accept( LdapContext ctx, DbSearchResult result, SearchControls controls )                throws NamingException        {            Name dn;            synchronized( dnParser )            {                dn = dnParser.parse( result.getName() );            }            Name principalDn = ( ( EveContext ) ctx ).getPrincipal().getDn();            if ( ! principalDn.equals( ADMIN_DN ) )            {                if ( dn.size() > 2  )                {                    if ( dn.startsWith( USER_BASE_DN ) || dn.startsWith( GROUP_BASE_DN ) )                    {                        return false;                    }                }                if ( dn.equals( ADMIN_DN ) )                {                    return false;                }            }            return true;        }