Skip to Content.
Sympa Menu

grouper-users - RE: RE: RE: RE: [grouper-users] web services REST API AttributeDefSave

Subject: Grouper Users - Open Discussion List

List archive

RE: RE: RE: RE: [grouper-users] web services REST API AttributeDefSave


Chronological Thread 
  • From: Chris Hyzer <>
  • To: mohan shamachar <>, "" <>
  • Subject: RE: RE: RE: RE: [grouper-users] web services REST API AttributeDefSave
  • Date: Mon, 1 Apr 2013 17:17:39 +0000
  • Accept-language: en-US
  • Authentication-results: sfpop-ironport04.merit.edu; dkim=neutral (message not signed) header.i=none

Right, the REST API (and all WS/UI/GSH/etc) uses the Java API, so everything
in Grouper is in the Java API including creation of definitions and actions.
These are Java API calls (which happen to work in GSH too):

GrouperSession grouperSession = GrouperSession.startRootSession();
AttributeDef attributeDef = new
AttributeDefSave(grouperSession).assignName("stem2:sub:c").assignToEffMembership(true).assignToGroup(true).assignAttributeDefType(AttributeDefType.perm).assignCreateParentStemsIfNotExist(true).save();
attributeDef.getAttributeDefActionDelegate().configureActionList("read,write");

Thanks,
Chris

-----Original Message-----
From:


[mailto:]
On Behalf Of mohan shamachar
Sent: Monday, April 01, 2013 1:13 PM
To:

Subject: Re: RE: RE: RE: [grouper-users] web services REST API
AttributeDefSave

Hi Chris,

Thanks. I'll try the Java Grouper API calls. So, just to confirm, Java
library supports the creation of definitions, where as the REST api does not.

best,
mohan



Archive powered by MHonArc 2.6.16.

Top of Page