grouper-dev - [grouper-dev] uPortal GroupStore - ws queries for channels
Subject: Grouper Developers Forum
List archive
- From: Arnaud Deman <>
- To:
- Subject: [grouper-dev] uPortal GroupStore - ws queries for channels
- Date: Wed, 21 Sep 2011 17:23:45 +0200
Hello,
I am working on the uPortal/Grouper integration with the Internet2
GroupStore.
I have noticed there is unnecessary queries with ids of channels
resulting in SubjectNotFoundException for the web service.
May be that's specific to our context, but as we know that our Gropuer groups
don't contain channel definitions, these operations could be avoided.
In the method findContainingGroups(IGroupMember) in the class
GrouperEntityGroupStore
I have added this test based on the type of the underlying entity:
public Iterator findContainingGroups(IGroupMember gm) throws GroupsException {
final List<IEntityGroup> parents = new LinkedList<IEntityGroup>();
if (gm.getEntityType() == IChannelDefinition.class) {
return parents.iterator();
}
(...)
Does this sound reasonable?
Thanks,
Best regards,
Arnaud.
--
Arnaud Deman
04 91 28 85 25
DSI - Université Paul Cézanne Aix-Marseille III
Avenue Escadrille Normandie-Niemen
13397 MARSEILLE CEDEX 20
- [grouper-dev] uPortal GroupStore - ws queries for channels, Arnaud Deman, 09/21/2011
- Re: [grouper-dev] uPortal GroupStore - ws queries for channels, Shilen Patel, 09/21/2011
Archive powered by MHonArc 2.6.16.