Re: Accessing Open Directory Information
Re: Accessing Open Directory Information
- Subject: Re: Accessing Open Directory Information
- From: Joe Little <email@hidden>
- Date: Tue, 5 Jul 2005 23:46:05 -0700
Open Directory, among other things, is just OpenLDAP 2.1.x. Use the
JNDIAdaptor against your LDAP server. You won't have access to
passwords and such, but if you just want groupings, you can query
which groups a user belongs, or the memberships of a specific group.
By making them EOs, you can mostly avoid all the LDAP specific
knowledge you would otherwise need.
On 7/5/05, Colin Shreffler <email@hidden> wrote:
> What is the best way to access Open Directory information via Web Objects? Does Apple provide an Open Directory API?
>
> Specifically I need to incorporate role-based security (authorization) into my application. One approach would be to add users to groups in Open Directory and then check to see if the user is a member of that group before granting access to certain content.
>
> If anyone has any information about alternative methods of providing role-based security in Web Objects or about an API that will allow me to see if a User in Open Directory is a member of a particular Group, I'd be most grateful :)
>
> Cheers!
> -c
>
>
>
>
> ________________________________________________________________
> Sent via the WebMail system at warp9software.com
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden