Docstoc

Introduction to Grouper - Internet2_3_

Document Sample
Introduction to Grouper - Internet2_3_ Powered By Docstoc
					                      Grouper Training
                  Developers and Architects
                    Web Services - Part 5

                            Chris Hyzer
                              Internet2
                     University of Pennsylvania



This work licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.
Contents

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



                                                     2
Introduction to WS for developers




                                    3
Get subjects

Get subjects from searching by id or identifier or search
  string

• wsSubjectLookups are subjects to look for
• searchString free form string query
• sourceIds are sources to look in for memberships, or null
  if all
• wsGroupLookup specify a group if the subjects must be
  in the group
• fieldName is if the memberships should be retrieved
  from a certain field membership of the group (certain list)
• wsMemberFilter: All, Effective, Immediate, Composite,
  NonImmediate


                                                                4
Get Grouper privileges

get grouper privileges for a group or folder (Lite only)
• subjectLookup is the subject to filter privileges by
• groupLookup points to the group if group privileges are
  being queried
• stemLookup points to the folder if folder privielges are
  being queried
• privilegeType (e.g. "access" for groups and "naming" for
  stems)
• privilegeName (e.g. for groups: read, view, update,
  admin, optin, optout. e.g. for stems: stem, create)


                                                             5
Assign Grouper privileges

(un)assign a privilege
• wsSubjectLookups: subjects to assign privileges
• wsGroupLookup: owner of privilege if for groups
• wsStemLookup if stem privilege, this is the stem
• replaceAllExisting T or F if replacing all who
  have the privilege
• privilegeType access=groups, naming=stems
• privilegeNames read, view, update, admin, etc
• allowed is T to allow privilege, F to deny

                                                     6
Get attribute assignments
    Find attribute assignments based on criteria
•    Attribute assign type   • Various owner
•    Assign lookups (ids)      lookups:
•    Attribute def lookups     •   Group
•    Attr def name lookups     •   Folder
•    Actions                   •   Member
•    Include metadata          •   Membership
•    Enabled?                  •   Attr assignment
•    Value type
•    Value

                                                     7
Assign attributes
    Assign or unassign attributes and values
•    Attribute assign type      • Various owner
•    Assign lookups (ids)         lookups:
•    Attr def name lookups        •   Group
•    Actions                      •   Folder
•    (Un)enabled dates            •   Member
•    Value type                   •   Membership
•    Value                        •   Attr assignment
•    Assign / add / replace /
     remove

                                                        8
Assign attributes batch

• Pass in attribute assignments (similar to
  operation "assign attributes")
• Pass in multiple assignment operations
  in one operations
• Can back-reference assignments in
  same batch (to assignment metadata
  on assignments)
• Can set transaction type


                                              9
Get permissions assignments
Find permissions/limits based on criteria
• Can calculate limits    •   Role lookups
• Attribute def lookups   •   Subject lookups
• Attr def name           •   Include detail?
  lookups                 •   Point in time query
• Actions                 •   Immediate only?
• Include limits?         •   Permission type
• Enabled?


                                                    10
Assign permissions
Assign or unassign permissions
• Assign to users or   •   User/role lookups
  roles                •   Role lookups
• Perm name lookup     •   Actions
• Assign/replace/      •   Delegatable?
  remove               •   Allowed?
• Assignment notes
• (Un)enabled time


                                               11
Member change subject
• Change the subject that a member points to
• Pass in the old subject and new subject
• Can delete unused member record if
  applicable




                                               12
Attribute name save
Create or edit attributeDefName /
  permissionName
• Attribute Def lookup
• Parent folder lookup
• Display name
• System name
• Description
• Can batch, can use transaction



                                    13
Attribute name delete
Delete attributeDefName / permissionName
• Attribute definition name lookup
• Can batch
• Transaction type




                                           14
Find attribute definition name
    Search for attribute definition names /
      permission names

•   Scope                  • Attribute definition
•   Split scope              name lookups
•   Attribute def lookup   • Paging
•   Assign type            • Sorting
•   Attribute def type     • Permission
                             inheritance type



                                                    15
Attribute def name inheritance
(Un)assign attribute def name (permission
  name) inheritance
• Owner attribute def name lookup
• Related attribute def name lookups
• Assign?
• Replace?
• Transaction type




                                            16
Quiz

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




                                               17
                                            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.   18

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:0
posted:4/13/2014
language:English
pages:18