grouper-users - Re: [grouper-users] groupName equals subjectIdentifier?
Subject: Grouper Users - Open Discussion List
List archive
- From: Julio Polo <>
- To: "Hyzer, Chris" <>
- Cc: "" <>
- Subject: Re: [grouper-users] groupName equals subjectIdentifier?
- Date: Wed, 17 Feb 2016 13:08:18 -1000
Sorry, something like this:
PUT /grouper-ws/servicesRest/v2_2_000/groups/aStem%3AaGroup/members HTTP/1.1
Connection: close
Authorization: Basic xxxxxxxxxxxxxxxxx==
User-Agent: Jakarta Commons-HttpClient/3.0
Host: localhost:8092
Content-Length: 173
Content-Type: text/x-json; charset=UTF-8
{
"WsRestAddMemberRequest":{
"replaceAllExisting":"F",
"subjectLookups":[
{
"subjectSourceId":"g:gsa",
"subjectIdentifier":"a:b:c:d"
},
{
"subjectSourceId":"g:gsa",
"subjectIdentifier":"a:b:c:e"
}
]
}
}
From: [mailto:] On Behalf Of Hyzer, Chris
Sent: Wednesday, February 17, 2016 5:19 PM
To: Julio Polo <>;
Subject: RE: [grouper-users] groupName equals subjectIdentifier?
if you are looking up a group to use as a subject, you need to use subjectLookup J
in addMember the wsGroupLookup is the group to add the subjects to
You can yes, for subject source id you can use “g:gsa”, and for subjectId you can use the UUID or for subjectIdentifier you can use the group system name… ok? J
I would like the non lite one and pass in the body of the call a bunch of subject lookups…
Like this sample:
PUT /grouper-ws/servicesRest/v2_2_000/groups/aStem%3AaGroup/members HTTP/1.1
Connection: close
Authorization: Basic xxxxxxxxxxxxxxxxx==
User-Agent: Jakarta Commons-HttpClient/3.0
Host: localhost:8092
Content-Length: 173
Content-Type: text/x-json; charset=UTF-8
{
"WsRestAddMemberRequest":{
"replaceAllExisting":"F",
"subjectLookups":[
{
"subjectIdentifier":"a:b:c:d"
},
{
"subjectIdentifier":"a:b:c:e"
}
]
}
}
Thanks
Chris
From: [] On Behalf Of Julio Polo
Sent: Wednesday, February 17, 2016 4:59 PM
To:
Subject: [grouper-users] groupName equals subjectIdentifier?
I'm using Grouper web services to add several groups as members of another group. I'm using addMember, but I couldn't use its wsGroupLookup because it appears to support adding only one group at a time.
I noticed that I can specify the group names (e.g. path:to:group:one, path:to:group:two, etc.) as the values for subjectLookups / subjectLookup / subjectIdentifier. Is this a supported way of doing this? Prior to this, I was making an extra call to fetch the UUIDs of the groups, then passing those as the values for subjectLookups / subjectLookup / subjectId when calling addMember. I just want to make sure that I'm not using an unintended side effect.-julio
Julio Polo
Enterprise Middleware, Identity and Access Management
Information Technology Services
University of Hawaii
- [grouper-users] groupName equals subjectIdentifier?, Julio Polo, 02/17/2016
- RE: [grouper-users] groupName equals subjectIdentifier?, Hyzer, Chris, 02/17/2016
- RE: [grouper-users] groupName equals subjectIdentifier?, Hyzer, Chris, 02/17/2016
- Re: [grouper-users] groupName equals subjectIdentifier?, Julio Polo, 02/17/2016
- RE: [grouper-users] groupName equals subjectIdentifier?, Hyzer, Chris, 02/17/2016
- RE: [grouper-users] groupName equals subjectIdentifier?, Hyzer, Chris, 02/17/2016
Archive powered by MHonArc 2.6.16.