/** * {@inheritDoc} */ @Override public boolean exists( Dn dn ) throws LdapException { try { Entry entry = lookup( dn, SchemaConstants.NO_ATTRIBUTE ); return entry != null; } catch ( LdapNoPermissionException lnpe ) { // Special case to deal with insufficient permissions LOG.info( lnpe.getMessage(), lnpe ); return false; } catch ( LdapException le ) { throw le; } }