edu.internet2.middleware.grouper.hooks.examples
Class GroupUniqueNameCaseInsensitiveHook
java.lang.Object
edu.internet2.middleware.grouper.hooks.GroupHooks
edu.internet2.middleware.grouper.hooks.examples.GroupUniqueNameCaseInsensitiveHook
public class GroupUniqueNameCaseInsensitiveHook
- extends GroupHooks
built in hook to grouper, which is turned on when it is configured in the grouper.properties.
group names will case insensitive be unique
set that with grouper.properties:
hooks.group.class = edu.internet2.middleware.grouper.hooks.examples.GroupUniqueNameCaseInsensitiveHook
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VETO_GROUP_UNIQUE_NAME_CASE_INSENSITIVE
public static final java.lang.String VETO_GROUP_UNIQUE_NAME_CASE_INSENSITIVE
- veto key
- See Also:
- Constant Field Values
GroupUniqueNameCaseInsensitiveHook
public GroupUniqueNameCaseInsensitiveHook()
groupPreInsert
public void groupPreInsert(HooksContext hooksContext,
HooksGroupBean preInsertBean)
- Description copied from class:
GroupHooks
- called right before a group insert
- Overrides:
groupPreInsert
in class GroupHooks
- See Also:
GroupHooks.groupPreInsert(edu.internet2.middleware.grouper.hooks.beans.HooksContext, edu.internet2.middleware.grouper.hooks.beans.HooksGroupBean)
verifyCaseInsensitiveName
public static void verifyCaseInsensitiveName(Group group)
- Parameters:
group
-
groupPreUpdate
public void groupPreUpdate(HooksContext hooksContext,
HooksGroupBean preUpdateBean)
- Description copied from class:
GroupHooks
- called right before a group update
- Overrides:
groupPreUpdate
in class GroupHooks
- See Also:
GroupHooks.groupPreUpdate(edu.internet2.middleware.grouper.hooks.beans.HooksContext, edu.internet2.middleware.grouper.hooks.beans.HooksGroupBean)