• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: eomodeler, ldap, and many-to-many relationships
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >eomodeler, ldap, and many-to-many relationships (From: William Norris <email@hidden>)

  • Prev by Date: WOCheckbox behaviour
  • Next by Date: Re: WOLisp Installation
  • Previous by thread: eomodeler, ldap, and many-to-many relationships
  • Next by thread: WebObjects 5.2.x / OS X 10.3.5 install verification
  • Index(es):
    • Date
    • Thread