Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Change Log Consumer -get attributes not working

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Change Log Consumer -get attributes not working


Chronological Thread 
  • From: "Klug, Lawrence" <>
  • To: Shilen Patel <>
  • Cc: Chris Hyzer <>, "" <>
  • Subject: [grouper-users] Change Log Consumer -get attributes not working
  • Date: Wed, 3 Oct 2012 16:11:41 +0000
  • Accept-language: en-US

I’m not getting attributes using this code, although I’ve defined an attribute for the group in question.  What am I doing wrong?

 

 

GrouperSession gs =  GrouperSession.startRootSession(); 

Group group =  GroupFinder.findByName(gs, currentGroup, false);

EventLog.info("found group = " + group);

System.out.println("found group = " + group);

Map<String, Attribute> myMap = group.getAttributesMap(false);

EventLog.info("found Attribute = " + myMap + " Size = " + myMap.size());

System.out.println("found Attribute = " + myMap + " Size = " + myMap.size());     

 

 

**** PLONE CHANGE LOG CONSUMER ****

Processing changeLog #74324, membership.addMembership

Parent group stem: ucla:apps:cms:insiders

, group name: ucla:apps:cms:insiders:reader

, sourceId: ldap

, true

, true

, false

found group = Group[name=ucla:apps:cms:insiders:reader,uuid=9a1f35db35af477fb0b1d773e1b3ff88]

found Attribute = {} Size = 0

 

 

 

Owner group                Attribute name                 Enabled?           Assignment values         Attribute definition        Assignment UUID

Reader           ploneTarget       enabled                 it.ucla.edu/plonetarget1

                                                                            boston.it.ucla.edu/grouper_utility         ploneTarget         cd300...

 




Archive powered by MHonArc 2.6.16.

Top of Page