Skip to Content.
Sympa Menu

grouper-users - GrouperClient getGrouperPrivilegesLiteWs not finding privileges by stem

Subject: Grouper Users - Open Discussion List

List archive

GrouperClient getGrouperPrivilegesLiteWs not finding privileges by stem


Chronological Thread 
  • From: Paul Gazda <>
  • To: "" <>
  • Subject: GrouperClient getGrouperPrivilegesLiteWs not finding privileges by stem
  • Date: Fri, 20 Mar 2009 09:36:37 -0700
  • Accept-language: en-US
  • Acceptlanguage: en-US

I cannot get GrouperClient getGrouperPrivilegesLiteWs to list a subject’s privileges by stem in 1.4.1. It works when I give it a group name, but with a stem name, I get this error in the log:

Mar 20, 2009 9:29:59 AM edu.internet2.middleware.grouperClient.GrouperClient main

SEVERE: null

java.lang.NullPointerException

        at edu.internet2.middleware.grouperClient.GrouperClient.getGrouperPrivilegesLite(GrouperClie

nt.java:781)

        at edu.internet2.middleware.grouperClient.GrouperClient.main(GrouperClient.java:301)

 

I can successfully find the groups in the stem using this:

java -jar grouperClient.jar --operation=findGroupsWs --queryFilterType=FIND_BY_STEM_NAME --stemName=XYZ

 

I can successfully get privileges for a group within the stem using this:

java -jar grouperClient.jar --operation=getGrouperPrivilegesLiteWs --subjectId=123xxxxxxxxxx --groupName= XYZ:testgroup4

 

But this fails:

java -jar grouperClient.jar --operation=getGrouperPrivilegesLiteWs --subjectId=123xxxxxxxxxx --stemName= XYZ

 

Paul Gazda




Archive powered by MHonArc 2.6.16.

Top of Page