Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 50646 invoked from network); 22 Jul 2004 18:08:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Jul 2004 18:08:05 -0000 Received: (qmail 12402 invoked by uid 500); 22 Jul 2004 18:07:55 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 12302 invoked by uid 500); 22 Jul 2004 18:07:54 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 12263 invoked by uid 99); 22 Jul 2004 18:07:53 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [128.230.248.25] (HELO gwia201.syr.edu) (128.230.248.25) by apache.org (qpsmtpd/0.27.1) with SMTP; Thu, 22 Jul 2004 11:07:49 -0700 Received: from MTA2-MTA by gwia201.syr.edu with Novell_GroupWise; Thu, 22 Jul 2004 14:07:42 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.4 Date: Thu, 22 Jul 2004 14:07:09 -0400 From: "Grant Ingersoll" To: Subject: Re: authentication support in lucene Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N You maybe could use the HitCollector mechanism for search. Do your ACL = check as you add the item to the HitCollector. If the check fails, then = don't add it to the Collector. =20 >>> john.wang@gmail.com 07/22/04 01:59PM >>> Hi: Maybe this has been asked before. Is there a plan to support ACL check on the documents in lucene? Say I have a customized ACL check module, e.g.: boolean ACLCheck(int docID,String user,String password); And have some sort of framework to plug in something like that. I was looking at the Filter class. I guess I can read the entire index, for each document, feed it to the authentication module, if authenticated, bitset the docID and return the BitSet instance. I sounds very slow for large hits. I guess I can play with cacheing etc. Any other ideas? Thanks -John --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org=20 For additional commands, e-mail: lucene-user-help@jakarta.apache.org=20 --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org