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 or grouperHook.GroupUniqueNameCaseInsensitiveHook.autoRegister = true (default)
| Modifier and Type | Field and Description |
|---|---|
static String |
VETO_GROUP_UNIQUE_ID_CASE_INSENSITIVE
veto key
|
static String |
VETO_GROUP_UNIQUE_NAME_CASE_INSENSITIVE
veto key
|
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 and Description |
|---|
GroupUniqueNameCaseInsensitiveHook() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearHook() |
void |
groupPreInsert(HooksContext hooksContext,
HooksGroupBean preInsertBean)
called right before a group insert
|
void |
groupPreUpdate(HooksContext hooksContext,
HooksGroupBean preUpdateBean)
called right before a group update
|
static void |
registerHookIfNecessary()
see if this is configured in the grouper.properties, if so, register this hook
|
static void |
verifyCaseInsensitiveName(Group group) |
groupPostCommitDelete, groupPostCommitInsert, groupPostCommitUpdate, groupPostDelete, groupPostInsert, groupPostUpdate, groupPreDeletepublic static final String VETO_GROUP_UNIQUE_NAME_CASE_INSENSITIVE
public static final String VETO_GROUP_UNIQUE_ID_CASE_INSENSITIVE
public static void clearHook()
public static void registerHookIfNecessary()
public void groupPreInsert(HooksContext hooksContext, HooksGroupBean preInsertBean)
GroupHookspublic static void verifyCaseInsensitiveName(Group group)
group - public void groupPreUpdate(HooksContext hooksContext, HooksGroupBean preUpdateBean)
GroupHooksCopyright © 2016 Internet2. All rights reserved.