Class GroupLdapUniqueHookExample
java.lang.Object
edu.internet2.middleware.grouper.hooks.GroupHooks
edu.internet2.middleware.grouper.hooks.examples.GroupLdapUniqueHookExample
this is just an example
compile this class using the Grouper jar on classpath: javac -cp grouper-2.6.5.jar GroupLdapUniqueHook.java
put the classfile in the container: /opt/grouper/grouperWebapp/WEB-INF/classes/GroupLdapUniqueHook.class
register the class in grouper.properties:
hooks.group.class=GroupLdapUniqueHook
-
Field Summary
Fields inherited from class edu.internet2.middleware.grouper.hooks.GroupHooks
METHOD_GROUP_POST_COMMIT_DELETE, METHOD_GROUP_POST_COMMIT_INSERT, METHOD_GROUP_POST_COMMIT_UPDATE, METHOD_GROUP_POST_DELETE, METHOD_GROUP_POST_INSERT, METHOD_GROUP_POST_UPDATE, METHOD_GROUP_PRE_DELETE, METHOD_GROUP_PRE_INSERT, METHOD_GROUP_PRE_UPDATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
groupPreInsert
(HooksContext hooksContext, HooksGroupBean preInsertBean) called right before a group insertMethods inherited from class edu.internet2.middleware.grouper.hooks.GroupHooks
groupPostCommitDelete, groupPostCommitInsert, groupPostCommitUpdate, groupPostDelete, groupPostInsert, groupPostUpdate, groupPreDelete, groupPreUpdate
-
Constructor Details
-
GroupLdapUniqueHookExample
public GroupLdapUniqueHookExample()
-
-
Method Details
-
groupPreInsert
Description copied from class:GroupHooks
called right before a group insert- Overrides:
groupPreInsert
in classGroupHooks
-