grouper-users - [grouper-users] Acting as a user in gsh?
Subject: Grouper Users - Open Discussion List
List archive
- From: Jeffrey Crawford <>
- To: Gouper Users List <>
- Subject: [grouper-users] Acting as a user in gsh?
- Date: Fri, 16 Oct 2015 15:43:07 -0700
I was trying to execute gsh commands as myself to keep the audit log accurate for some operations that I knew might take too long to execute over the ui: The following commands don't give me any errors but when I looked at the audit log afterwards it said that the operations were performed by "GrouperSysAdmin". Am I doing this wrong?
grouperSession = GrouperSession.startRootSession();
myself = SubjectFinder.findByIdAndSource("G00000001", "ucscidm", true);
grouperSession.setSubject(myself);
addComposite(group name, composite type, left group name, right group name)
grouperSession = GrouperSession.startRootSession();
myself = SubjectFinder.findByIdAndSource("G00000001", "ucscidm", true);
grouperSession.setSubject(myself);
addComposite(group name, composite type, left group name, right group name)
Jeffrey
Both pilots and IT professionals require training and currency before charging into clouds!
---------------------------------------
- [grouper-users] Acting as a user in gsh?, Jeffrey Crawford, 10/16/2015
- RE: [grouper-users] Acting as a user in gsh?, Chris Hyzer, 10/17/2015
- Re: [grouper-users] Acting as a user in gsh?, Jeffrey Crawford, 10/18/2015
- RE: [grouper-users] Acting as a user in gsh?, Chris Hyzer, 10/18/2015
- Re: [grouper-users] Acting as a user in gsh?, Jeffrey Crawford, 10/18/2015
- RE: [grouper-users] Acting as a user in gsh?, Chris Hyzer, 10/17/2015
Archive powered by MHonArc 2.6.16.