grouper-dev - [grouper-dev] new WS operation 2/4: save attribute definition names WS
Subject: Grouper Developers Forum
List archive
- From: Chris Hyzer <>
- To: "" <>
- Subject: [grouper-dev] new WS operation 2/4: save attribute definition names WS
- Date: Sat, 25 Feb 2012 21:42:42 +0000
- Accept-language: en-US
There are 4 new web service operations in Grouper 2.1. These are to satisfy the use case of centralized permission managements where the resources are dynamic (e.g. in an application securing folders and files, someone could create a new
folder or file, and the permission resources need to be created via WS). This new WS operation is for find saving attribute definition names (or permission names) https://spaces.internet2.edu/display/Grouper/Find+Attribute+Definition+Names Add or edit attribute definition names based on name or ID. This is new as of Grouper v2.1 Add or edit an attribute definition name If you are editing an existing attribute definition name, you can look it up by name or id You can specify a saveMode of INSERT, UPDATE, or INSERT_OR_UPDATE. If you specify INSERT and the attributeDefName exists, it will be an error. If you specify UPDATE and the attributeDefName exists, it will
be an error. Non-lite service can save multiple attributeDefNames at once You can have this operation automatically create parent stems if they do not exist Can pass in a txType so that you can run all the saves in one transaction, or just finish the work that is possible with no enclosing transaction Can set the name, display name, and description of an attribute def name. Specify the attribute definition it is linked to (by name or id) Returns attribute definition name(s), and the result code of if it was inserted or updated Can actAs another user Samples: (click download to see them) Thanks, Chris |
- [grouper-dev] new WS operation 2/4: save attribute definition names WS, Chris Hyzer, 02/25/2012
- [grouper-dev] new WS operation 3/4: delete attribute definition names WS, Chris Hyzer, 02/25/2012
- [grouper-dev] new WS operation 4/4: assign attribute definition name inheritance WS, Chris Hyzer, 02/25/2012
- [grouper-dev] new WS operation 3/4: delete attribute definition names WS, Chris Hyzer, 02/25/2012
Archive powered by MHonArc 2.6.16.