Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Web services: Assign privilges for an Entity.

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Web services: Assign privilges for an Entity.


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Dardan Salihi <>, "" <>
  • Subject: RE: [grouper-users] Web services: Assign privilges for an Entity.
  • Date: Wed, 17 Apr 2013 15:16:54 +0000
  • Accept-language: en-US
  • Authentication-results: sfpop-ironport03.merit.edu; dkim=neutral (message not signed) header.i=none

You should put a sourceId in the subject lookup if you can. In this case it
is "grouperEntities" by default, but it is changeable, so check the
sources.xml. For the subjectId, I think that is the UUID of the local
entity. For the identifier, you can use the fully qualified system name, or
if you have a subjectIdentifier attribute assigned, then it is the folder of
the local entity, and a colon, then the subject attribute.

So if the system name is "abc", and the subject attribute is a Kerberos
principal: abc/something.whatever, and it is in the folder x:y:z, then the
subjectIdentifier is either:

x:y:z:abc

-or-

x:y:z:abc/something.whatever

Thanks,
Chris

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


[mailto:]
On Behalf Of Dardan Salihi
Sent: Wednesday, April 17, 2013 7:05 AM
To:

Subject: [grouper-users] Web services: Assign privilges for an Entity.

Hello,

I have to create some stems and groups with webServices. I use grouper client
and i have on problem that i will explain:
i create stem and i wanna now how to give to the stem the privilege "create"
or "stem" but not for a subject but for a local entity:

WsStemLookup wsStemLookUp = new WsStemLookup("test:stem1", null);

WsSubjectLookup subjectLookup = new WsSubjectLookup("subjectIdTest",
null, null);

new GcAssignGrouperPrivileges().assignStemLookup(wsStemLookUp)

.assignAllowed(true).addPrivilegeName("create")
.addSubjectLookup(subjectLookup)
.execute();

I don't know how to change the SubjectLookup to use an entity or if i have an
another solution to do that. I just know that Entity will be manipulated like
groups.

Thank you in advance.



Archive powered by MHonArc 2.6.16.

Top of Page