Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Re: Could you tell me how to use the grouper api?

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Re: Could you tell me how to use the grouper api?


Chronological Thread 
  • From: "GW Brown, Information Systems and Computing" <>
  • To: "??" <>
  • Cc:
  • Subject: Re: [grouper-users] Re: Could you tell me how to use the grouper api?
  • Date: Mon, 16 Oct 2006 09:27:31 +0100

Hi aifei,

The Grouper API 1.1 release will have some new QueryFilters:

GroupModifiedAfterFilter, and
MembershipCreatedAfterFilter

The 1.1 release is mostly bug fixes and internal tidy up, but extra query features have been added with a view to supporting the LDAP provisioning connector I mentioned.

In principle, the latest API and UI in CVS should work together and with an existing repository. We are aiming to get the official 1.1 release out by the beginning of November.

Regards,

Gary


--On 16 October 2006 12:32 +0800 "??"
<>
wrote:

hi,Gary
In practise,I want the interface tell me whose memberships is modified
today ,and tell me all his membership.then I update those to the ldap.
under the user entry of the ldap repository,I set OU attribute to store
the memberships.

----- Original Message -----
From: "GW Brown, Information Systems and Computing"
<>
To: "??"
<>
Cc:
<>
Sent: Thursday, October 12, 2006 5:07 PM
Subject: [grouper-users] Re: Could you tell me how to use the grouper api?


Hi aifei,

There is a project underway to produce a provisioning connector which
will update LDAP with membership information from Grouper. A
description of the aims of the project can be found at
<https://filer.uchicago.edu/users/tbarton/public/jndi-conn-rfq-02.html>.

It is expected that an initial version will be ready in early November.

As for the Grouper API, given a Subject you can obtain a Member using
MemberFinder:
public static Member findByUuid(GrouperSession s, String uuid)

and given a member you can call:

Member.getGroups(), or Member.getMemberships().

You could try to iterate across all Subjects, find the memberships and
write something to update LDAP, but in practice you probably want to
only at Subjects which are members of groups which have changed. I
would wait for the LDAP provisioning connector, but if you have
specific requirements, as to how memberships are reflected in your LDAP
repository, it would be worth discussing them on this list.

Regards,

Gary



--On 12 October 2006 10:50 +0800 "??"
<>
wrote:

aifei



----------------------
GW Brown, Information Systems and Computing




----------------------
GW Brown, Information Systems and Computing




Archive powered by MHonArc 2.6.16.

Top of Page