Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] checking a group name against an external names db

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] checking a group name against an external names db


Chronological Thread 
  • From: Gagné Sébastien <>
  • To: "Rob Gorrell" <>
  • Cc: <>
  • Subject: RE: [grouper-users] checking a group name against an external names db
  • Date: Mon, 12 Aug 2013 09:39:11 -0400

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 [mailto:]
Envoyé : 8 août 2013 18:11
À : Gagné Sébastien
Cc :
Objet : Re: [grouper-users] checking a group name against an external names db

 

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.

-Rob
 

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.


-----Message d'origine-----
De : [mailto:] De la part de Jeff McCullough
Envoyé : 7 août 2013 20:00
À :
Objet : [grouper-users] checking a group name against an external names db



It is looking like I may need to check group names against our names db when a group is created or edited. In looking through the grouper documentation, I'm thinking that I can do this using Grouper Hooks. Am I correct in this or is there another way? Has anyone done this already?

Thanks,
Jeff




--

Robert W. Gorrell
Middleware Engineer, Identity and Access Management

University of NC at Greensboro
336-334-5954




Archive powered by MHonArc 2.6.16.

Top of Page