Re: eomodeler, ldap, and many-to-many relationships
Re: eomodeler, ldap, and many-to-many relationships
- Subject: Re: eomodeler, ldap, and many-to-many relationships
- From: Lionel GUILLAUME <email@hidden>
- Date: Sat, 21 Aug 2004 11:45:38 +0200
Has LDAP doesn't allow relationship between entities. I use
fetchspecification
to resolve the same problem. I wrote a method "posixAccounts" in the
PosixGroup
class and a other method "posixGroups" in the "PosixAccount" class.
Both of this method return NSArray of PosixGroup or PosixAccount.
This works find for reading.
The next problem is writing, because you will have to write a
multivalued attribute
for the members.
Le 21 ao{t 04, ` 02:47, William Norris a icrit :
> I am working on integrating my WO App into our exisint Open Directory
> setup for authentication and authorization. The problem I am running
> into is in creating a relationship between the posixAccount and
> posixGroup entities. posixGroup has an attribute "memberUid" that is
> essentially an array of users that are in that group, however
> eomodeler sees it as a single string. I don't want to create a join
> table, as that would negate the whole point of using the existing
> relationship LDAP has in place. Has anyone had success in setting up
> a many-to-many relationship between your user and group entities in OD
> (or any LDAP directory for that matter)?
>
> thanks,
> will
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.