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: Tom Zeller <>
  • To: Arnaud Deman <>
  • Cc:
  • Subject: Re: [grouper-users] ldappcng filtering and attribute framework
  • Date: Thu, 10 Feb 2011 10:37:12 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=hJoebO5hLtia39YCMB/Jo8llkQrMLi3bYgFZroqUwiUgGOdvYBOdh1DvZQe6MAHNlx ukQtSzYCN9yQN0V2qgE+u0HXUNXoZv15xfMneZC14e792/MPHWoK1stUSzFVxtdHUkjl jikP9MUIoTVtmbul4JvvCMAP41+8LwtFEsWGg=

> 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>



Archive powered by MHonArc 2.6.16.

Top of Page