1 / 16

Grouper Training Developers and Architects Web Services - Part 4

This tutorial covers operations related to group and member management in Grouper web services. Learn how to add/delete members, get member information, save/delete groups and stems, and more.

jarana
Download Presentation

Grouper Training Developers and Architects Web Services - Part 4

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Grouper TrainingDevelopers and Architects Web Services - Part 4 Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.

  2. Contents Introduction Operations (Part 4) Add/delete member Get members Has member Get memberships Group save/delete Find groups Stem save/delete Find stems Operations (Part 5) Get subjects Get/assign privileges Get/assign attributes Get/assign permissions Member change subject Attribute name save/delete Find attributes Attribute inheritance

  3. Introduction to WS for developers 3

  4. Add member • wsGroupLookup - group to add the members to • subjectLookups - subjects to be added to the group • replaceAllExisting - optional: T or F (default), if the existing members should be replaced • fieldName - is if the member should be added to a certain field membership of the group (certain list). by fieldName • disabledTime - date this membership will be disabled, yyyy/MM/dd HH:mm:ss.SSS • enabledTime - date this membership will be enabled (for future provisioning), yyyy/MM/dd HH:mm:ss.SSS • addExternalSubjectIfNotFound - T or F, if the subject is not found, then add an external subject 4

  5. Delete member wsGroupLookup subjectLookups - subjects to be deleted to the group fieldName - is if the member should be added to a certain field membership of the group (certain list) 5

  6. Get members wsGroupLookups - are groups to check memberFilter - must be one of All, Effective, Immediate, Composite fieldName - certain field membership sourceIds - source ids of members to get pointInTimeFrom - To query members at a certain point in time or time range pointInTimeTo - 6

  7. Has member wsGroupLookup subjectLookups memberFilter - can be All, Effective (non immediate), Immediate (direct), etc fieldName - students, profs, etc pointInTimeFrom - To query members at a certain point in time or time range pointInTimeTo 7

  8. Get memberships wsGroupLookups - are groups to look in wsSubjectLookups - are subjects to look in wsMemberFilter - All, Effective, Immediate, NonImmediate fieldName - students, profs, etc scope - is a sql like string group names wsStemLookup - is the stem to look in for memberships stemScope - ONE_LEVEL, ALL_IN_SUBTREE enabled - A for all, T or null for enabled, F for disabled membershipIds - ids to search for if they are known 8

  9. Group save wsGroupToSaves - groups to save group name lookup composite info 9

  10. Group delete wsGroupLookups - groups to delete 10

  11. Find groups wsQueryFilter - is the filter properties that can search by name, uuid, attribute, type, and can do group math on multiple operations, etc wsGroupLookups - if you want to just pass in a list of uuids and/or names. Note the groups are returned in alphabetical order 11

  12. Stem save wsStemToSaves - stems to save name description etc 12

  13. Stem delete wsStemLookups - stem lookups of stems to delete (specify name or uuid) 13

  14. Find stems wsStemQueryFilter - is the filter properties that can search by name, uuid, approximate attribute, and can do group math on multiple operations, etc wsStemLookups - to pass in a list of uuids or names to lookup. Note the stems are returned in alphabetical order 14

  15. Quiz • Click on the quiz link in the video description to reinforce your knowledge of this topic 15

  16. Thanks! • Further information: • Infosheets, mailing lists, wiki, downloads, etc.:www.internet2.edu/grouper • Grouper demo server:grouperdemo.internet2.edu/ • Grouper Online Training Home:spaces.internet2.edu/x/IIGfAQ This work licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.

More Related