From users-return-5196-apmail-directory-users-archive=directory.apache.org@directory.apache.org Mon Mar 11 17:08:48 2013 Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 83CF4D3A6 for ; Mon, 11 Mar 2013 17:08:48 +0000 (UTC) Received: (qmail 65929 invoked by uid 500); 11 Mar 2013 17:08:48 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 65543 invoked by uid 500); 11 Mar 2013 17:08:41 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 65496 invoked by uid 99); 11 Mar 2013 17:08:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Mar 2013 17:08:40 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [173.201.193.237] (HELO p3plsmtpa09-08.prod.phx3.secureserver.net) (173.201.193.237) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Mar 2013 17:08:32 +0000 Received: from Sila ([72.77.202.50]) by p3plsmtpa09-08.prod.phx3.secureserver.net with id AH891l00S15kzgw01H8A93; Mon, 11 Mar 2013 10:08:10 -0700 From: "Tom Bruser" To: Subject: Continuation of evaluation of ApacheDS as part of a preemptive cache Date: Mon, 11 Mar 2013 13:08:16 -0400 Message-ID: <002c01ce1e7b$061fc880$125f5980$@tombruser.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: Ac4eeWvtk9o31rd9QBGw4N9u8Ute/A== Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org I've been making some progress in standing up a memory partition for ApacheDS and still have some ways to go to make a custom partition to store the data as I see better fit for my purposes. My preemptive cache will be available to *most* of our clients via a simple restful service call. The purpose of looking at ApacheDS is to deal with one client that is set up to only talk to LDAP. This client will essentially connect in to LDAP and perform a simple search. Think in terms of an out of the box CMS that needs to import its users and groups information. Just to make sure I'm not trying to over-architect the solution, is there a better way to provide a facility to let an LDAP client bind (log in), interpret or parse the LDAP query (filter) into something that can query against simple collections of POJOs, and return an LDAP-friendly response? This is based on my current direction to stand up ApacheDS and customize a memory partition so that it can map to my POJOs. It just seems so far that, albeit possibly due to ignorance, am trying too hard to structure my in-memory data to cater to how ApacheDS would like to see it represented as opposed to just trying to figure out what the client is asking for and find it within the structure that I'm already planning to use for the other 90% of clients. I've seen some mention of FilterParser, but did not yet find much information on how to use it... of course, I'd still need a means to accept the filter from the client to begin with even once I learn how to use it.