Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] ldappcng filtering and attribute framework

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] ldappcng filtering and attribute framework


Chronological Thread 
  • From: Arnaud Deman <>
  • To: Tom Zeller <>
  • Cc:
  • Subject: Re: [grouper-users] ldappcng filtering and attribute framework
  • Date: Thu, 10 Feb 2011 17:45:05 +0100

OK, I will try this way, so !

Thanks again,
Arnaud.

Le jeudi 10 février 2011 à 10:37:12, Tom Zeller a écrit :
> > Is the list of filters in the Grouper and Shibboleth integration page
> > exhaustive ?
>
> Yes. In general, ExactAttribute, And, Or, and Minus.
>
> > I saw the filters in the package edu.internet2.middleware.grouper.filter
> > and I wondered if they could be used in this context. If the answer is
> > yes I could use a filter based on a custom type instead...
>
> The only Filter in edu.internet2.middleware.grouper.filter that I have
> implemented for Shibboleth is, essentially, GroupAttributeFilter.
>
> So, to filter, you'll need something like :
>
> GroupType type = GroupType.createType(grouperSession, "groupType");
> type.addAttribute(grouperSession, "attr1", AccessPrivilege.VIEW,
> AccessPrivilege.UPDATE, false);
>
> group.addType(type);
> group.setAttribute("attr1", "value1", false);
>
> and for ldappcng :
>
> <resolver:DataConnector id="testFilterExactAttribute"
> xsi:type="grouper:GroupDataConnector">
> <grouper:GroupFilter xsi:type="grouper:ExactAttribute"
> name="attr1" value="value" />
> </resolver:DataConnector>

--
Arnaud Deman
04 91 28 85 25
DSI - Université Paul Cézanne Aix-Marseille III
Avenue Escadrille Normandie-Niemen
13397 MARSEILLE CEDEX 20




Archive powered by MHonArc 2.6.16.

Top of Page