Skip to Content.
Sympa Menu

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

Subject: Grouper Users - Open Discussion List

List archive

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


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

Well, its just the API (no builtin GSH commands)...

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

http://www.internet2.edu/grouper/release/2.1.0/doc/api/edu/internet2/middleware/grouper/attr/AttributeDefSave.html

http://www.internet2.edu/grouper/release/2.1.0/doc/api/edu/internet2/middleware/grouper/attr/assign/AttributeDefActionDelegate.html

Let me know if it works...

Thanks,
Chris



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


[mailto:]
On Behalf Of mohan shamachar
Sent: Friday, March 29, 2013 12:22 PM
To:

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

Hi Chris,

Thanks.

1. Is there a GSH command that can create the
AttributeDefinitions/PermissionDefinitions/Actions ?


2. If you would like to point to the development environment/tools and
modules, I could add the missing functionality to the API code and upload them
to you for testing/integration.

best,
mohan



Archive powered by MHonArc 2.6.16.

Top of Page