grouper-users - Problems with naming privileges
Subject: Grouper Users - Open Discussion List
List archive
- From: Keith Hazelton <>
- To:
- Subject: Problems with naming privileges
- Date: Sat, 01 Jan 2005 17:23:26 -0600
I'm having trouble trying to extend the contrib/load/accessmgr approach to cover naming privileges as well as access privileges.
Created a new subdirectory of contrib/load called privmgr. See copies at:
http://arch.doit.wisc.edu/keith/i2/grouper/privmgr/privmgr.java
http://arch.doit.wisc.edu/keith/i2/grouper/privmgr/build.xml
http://arch.doit.wisc.edu/keith/i2/grouper/privmgr/README
_______________
Tried to grant stem privileges on stem "wisc:doit:arch" to hazelton
Hmmm....
-----
java privmgr -v -g -m hazelton -n STEM -s wisc:doit -e arch
Enabling verbose mode
Using extension 'arch'
Enabling grant mode
Enabling grant mode
Will act upon a member `hazelton'
Will act upon naming privilege
Using stem 'wisc:doit'
Using default subjectID
2005-01-01 16:07:30,440 INFO event: Initializing Grouper
Using default subjectTypeID (person)
Looking up subjectID 'GrouperSystem'
2005-01-01 16:07:36,883 INFO event: Started session for 'GrouperSystem'
Started session as GrouperSystem:person
Loaded member GrouperSystem:person
{NOTE:}
wisc:doit:arch is null
Failed to grant privilege `STEM' to member `hazelton' on group `wisc:doit:arch'
2005-01-01 16:07:36,994 INFO event: Stopped session for 'GrouperSystem'
-----
Hmmm...Something not clear about regular groups and naming-groups...
- Create group "javaSeminar" under wisc:doit:arch
-----
java groupmgr -a -g -s wisc:doit:arch -e javaSeminar
2005-01-01 16:35:23,162 INFO event: Initializing Grouper
2005-01-01 16:35:26,136 INFO event: Started session for 'GrouperSystem'
2005-01-01 16:35:26,552 INFO event: Started session for 'GrouperSystem'
2005-01-01 16:35:26,636 INFO event: Added memberID='dd900da2-2d1e-49c9-aa6a-d1441da48ee3' subjectID='450f878e-27c4-4d9c-9f17-f8218bcdb380' to member table
2005-01-01 16:35:26,684 INFO event: 'GrouperSystem' granted 'ADMIN' to memberID='97c1c6e9-615e-4caf-addf-238a49c97908' subjectID='GrouperSystem' on 'wisc:doit:arch:javaSeminar'
2005-01-01 16:35:26,713 INFO event: Stopped session for 'GrouperSystem'
2005-01-01 16:35:26,716 INFO event: 'GrouperSystem' created 'wisc:doit:arch:javaSeminar' (base)
2005-01-01 16:35:26,718 INFO event: Stopped session for 'GrouperSystem'
keiths-g4:~/Documents/mace/mace-dir/grouper/grouper-0.5/contrib/load/groupmgr keith$ cd ../../misc/grouperq
keiths-g4:~/Documents/mace/mace-dir/grouper/grouper-0.5/contrib/misc/grouperq keith$
java grouperq -v -g wisc:doit:arch:javaSeminar
Enabling verbose mode
Got group 'wisc:doit:arch:javaSeminar'
Using default subjectID
2005-01-01 16:36:10,489 INFO event: Initializing Grouper
Using default subjectTypeID (person)
Looking up subjectID 'GrouperSystem'
2005-01-01 16:36:16,918 INFO event: Started session for 'GrouperSystem'
Started session as GrouperSystem:person
Loaded member GrouperSystem:person
Using default group field (members)
Looking up field 'members'
Results returned by query: 0
name: wisc:doit:arch:javaSeminar
type: base
stem: wisc:doit:arch
extn: javaSeminar
groupID: 450f878e-27c4-4d9c-9f17-f8218bcdb380
createSubjectID: GrouperSystem
createSubjectTypeID: person
createTime: 1104618926498
createTimePretty: Sat Jan 01 16:35:26 CST 2005
2005-01-01 16:36:17,046 INFO event: Stopped session for 'GrouperSystem'
keiths-g4:~/Documents/mace/mace-dir/grouper/grouper-0.5/contrib/load/privmgr keith$
java privmgr -v -g -m hazelton -n STEM -s wisc:doit -e arch
Enabling verbose mode
Using extension 'arch'
Enabling grant mode
Enabling grant mode
Will act upon a member `hazelton'
Will act upon naming privilege
Using stem 'wisc:doit'
Using default subjectID
2005-01-01 16:40:09,607 INFO event: Initializing Grouper
Using default subjectTypeID (person)
Looking up subjectID 'GrouperSystem'
2005-01-01 16:40:16,981 INFO event: Started session for 'GrouperSystem'
Started session as GrouperSystem:person
Loaded member GrouperSystem:person
wisc:doit:arch is null
Failed to grant privilege `STEM' to member `hazelton' on group `wisc:doit:arch'
2005-01-01 16:40:17,070 INFO event: Stopped session for 'GrouperSystem'
keiths-g4:~/Documents/mace/mace-dir/grouper/grouper-0.5/contrib/load/privmgr keith$
java privmgr -v -g -m hazelton -n STEM -s wisc:doit:arch -e javaSeminar
Enabling verbose mode
Using extension 'javaSeminar'
Enabling grant mode
Enabling grant mode
Will act upon a member `hazelton'
Will act upon naming privilege
Using stem 'wisc:doit:arch'
Using default subjectID
2005-01-01 16:40:50,290 INFO event: Initializing Grouper
Using default subjectTypeID (person)
Looking up subjectID 'GrouperSystem'
2005-01-01 16:40:56,702 INFO event: Started session for 'GrouperSystem'
Started session as GrouperSystem:person
Loaded member GrouperSystem:person
wisc:doit:arch:javaSeminar is edu.internet2.middleware.grouper.GrouperGroup@8b095[type=base,id=450f878e-27c4-4d9c-9f17-f8218bcdb380]
Failed to grant privilege `STEM' to member `hazelton' on group `wisc:doit:arch:javaSeminar'
2005-01-01 16:40:56,831 INFO event: Stopped session for 'GrouperSystem'
keiths-g4:~/Documents/mace/mace-dir/grouper/grouper-0.5/contrib/load/privmgr keith$
-----
Hmmm....
--
________________________________________________________
Keith Hazelton Senior IT Architect, UW-Madison
(608) 262-0771 Division of Info. Technology
(608) 877-0977 (home) 1210 W. Dayton St., rm. 2164
http://arch.doit.wisc.edu/keith Madison, WI 53706
- Problems with naming privileges, Keith Hazelton, 01/01/2005
- Re: [grouper-users] Problems with naming privileges, Tom Barton, 01/01/2005
- Re: [grouper-users] Problems with naming privileges, Keith Hazelton, 01/01/2005
- Re: [grouper-users] Problems with naming privileges, Keith Hazelton, 01/02/2005
- Re: [grouper-users] Problems with naming privileges, Tom Barton, 01/02/2005
- Re: [grouper-users] Problems with naming privileges, Keith Hazelton, 01/02/2005
- Re: [grouper-users] Problems with naming privileges, Tom Barton, 01/02/2005
- Re: [grouper-users] Problems with naming privileges, Keith Hazelton, 01/02/2005
- Re: [grouper-users] Problems with naming privileges, Keith Hazelton, 01/01/2005
- Re: [grouper-users] Problems with naming privileges, Tom Barton, 01/01/2005
Archive powered by MHonArc 2.6.16.