grouper-users - RE: [grouper-users] checking a group name against an external names db
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: Gagné Sébastien <>, Rob Gorrell <>
- Cc: "" <>
- Subject: RE: [grouper-users] checking a group name against an external names db
- Date: Mon, 12 Aug 2013 17:37:45 +0000
- Accept-language: en-US
Yes, that example (unique extension hook) is a good one. Here is an example which queries the Grouper database for something: https://spaces.internet2.edu/display/Grouper/Getting+started+with+hooks2 If you can link the database with names to the Grouper database, and grant privs to the Grouper schema to query it, then you can easily take the above example and make it work. Thanks Chris From: [mailto:]
On Behalf Of Gagné Sébastien Chris helped me a while back, here is the message containing a simple Hook Code :
https://lists.internet2.edu/sympa/arc/grouper-users/2012-01/msg00066.html Essantially, you : 1-
Create a Java class that extends the hook class you want to use 2-
Override the methods for which you want to add features (pre/post GroupCreate, GroupModify, GroupDelete, ect) 3-
Export that into a Jar and put it in Grouper’s custom jar folder 4-
Configure Grouper.properties to use these hooks (there is a section called “Hooks”). In that file you’ll also be able to see which Hook Classes are available to you 5-
Restart Grouper Note that you need to put the jar in the API, the UI and WebServices(if used) and restart them all since the UI will use its own copy of the API. De : Rob Gorrell []
I'm new to grouper and have not yet heard of 'group hooks'. Can someone explain a little of the process involved in validating group uniqueness externally? we have a home grown idm that lives
in an oracle database and contains our namespace that I would like to be able to have grouper validate against. On Thu, Aug 8, 2013 at 9:27 AM, Gagné Sébastien <> wrote: Yes Group Hooks should do the job. Here we had to validate group uniqueness in Grouper's groups as well as the Active Directory repository.
Robert W. Gorrell University of NC at Greensboro |
- [grouper-users] checking a group name against an external names db, Jeff McCullough, 08/07/2013
- RE: [grouper-users] checking a group name against an external names db, Gagné Sébastien, 08/08/2013
- Re: [grouper-users] checking a group name against an external names db, Rob Gorrell, 08/08/2013
- RE: [grouper-users] checking a group name against an external names db, Gagné Sébastien, 08/12/2013
- RE: [grouper-users] checking a group name against an external names db, Chris Hyzer, 08/12/2013
- RE: [grouper-users] checking a group name against an external names db, Gagné Sébastien, 08/12/2013
- Re: [grouper-users] checking a group name against an external names db, Rob Gorrell, 08/08/2013
- RE: [grouper-users] checking a group name against an external names db, Gagné Sébastien, 08/08/2013
Archive powered by MHonArc 2.6.16.