PartitionNexusProxy proxy = invocation.getProxy(); Attributes entry = proxy.lookup( dn, PartitionNexusProxy.LOOKUP_BYPASS );
    public Attributes lookup( NextInterceptor next, LdapDN dn, String[] attrIds ) throws NamingException    {        Invocation invocation = InvocationStack.getInstance().peek();        PartitionNexusProxy proxy = invocation.getProxy();        Attributes entry = proxy.lookup( dn, PartitionNexusProxy.LOOKUP_BYPASS );        LdapPrincipal principal = ( ( ServerContext ) invocation.getCaller() ).getPrincipal();        LdapDN principalDn = new LdapDN( principal.getName() );        principalDn.normalize( attrRegistry.getNormalizerMapping() );                if ( isPrincipalAnAdministrator( principalDn ) || !enabled )        {            return next.lookup( dn, attrIds );        }        checkLookupAccess( principal, dn, entry );        return next.lookup( dn, attrIds );    }