Defining own hooks
Step 1: Copying & pasting
...
Grouper hooks to own java package
The original grouper Grouper hooks are located in [grouper api Grouper API installation directory]/src/grouper/edu/internet2/middleware/grouper/hooks. The root is the edu level, thus having edu.internet2.middleware.grouper.hooks as the package name.
We have introduced an additional class hierarchy [grouper api Grouper API installation directory]/src/grouper/newLevel1/newLevel2/hooks.
Now copy & paste all original grouper Grouper hooks, rename the class names to "MyXXXHook.java" (or anything) and modify the package name of each class to newLevel1.newLevel2.hooks..
Step 2: Make sure the new hooks are found
Open the file [grouper api Grouper API installation directory]/conf/grouper.base.properties and copy all of the
...