directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barber, Dan \(Contractor\)" <Dan.Bar...@Polycom.com>
Subject RE: Creating a new partition
Date Wed, 11 Jul 2007 15:45:07 GMT
Alex,

Thanks!

Dan

-----Original Message-----
From: akarasulu@gmail.com [mailto:akarasulu@gmail.com] On Behalf Of Alex
Karasulu
Sent: Wednesday, July 11, 2007 9:34 AM
To: users@directory.apache.org
Subject: Re: Creating a new partition

Return an empty enumeration for the search:

http://svn.apache.org/repos/asf/directory/shared/trunk/ldap/src/main/jav
a/org/apache/directory/shared/ldap/util/EmptyEnumeration.java

HTH,
Alex

On 7/11/07, Barber, Dan (Contractor) <Dan.Barber@polycom.com> wrote:
>
> All,
>
>
>
> I'm working on creating a very basic partition type that I can include
> in server.xml, and that I can just get ApacheDS to come up with. A
first
> step toward creating our own partition. The return values will be
> hard-coded at this point and then code will slowly be added to
retrieve
> values from our database. I've created a PartitionConfiguration and
> Partition class, and included them in a bean. They are very stripped
> down classes. The step that is breaking current is during partition
> initialization.
>
>
>
> During initialization the following search is performed: opContext =
> SearchContext for DN '2.5.4.10=polycom', filter
:'(objectClass=referral)
> ' with a scope of 2. The entry point for this is
PartitionClass::search.
> What is the simplest NamingEnumeration that I can return for this
> search? Or is there a better way to handle this call?
>
>
>
> Thanks,
>
>
>
> Dan
>
>
>
>

Mime
View raw message