public class GroupAttributeNameValidationAttrHook extends AttributeHooks
built in hook to grouper, which is turned on when it is configured in the grouper.properties. you can retrict certain attributes of a group to be within a certain regex
METHOD_ATTRIBUTE_POST_COMMIT_DELETE, METHOD_ATTRIBUTE_POST_COMMIT_INSERT, METHOD_ATTRIBUTE_POST_COMMIT_UPDATE, METHOD_ATTRIBUTE_POST_DELETE, METHOD_ATTRIBUTE_POST_INSERT, METHOD_ATTRIBUTE_POST_UPDATE, METHOD_ATTRIBUTE_PRE_DELETE, METHOD_ATTRIBUTE_PRE_INSERT, METHOD_ATTRIBUTE_PRE_UPDATE
Constructor and Description |
---|
GroupAttributeNameValidationAttrHook() |
Modifier and Type | Method and Description |
---|---|
void |
attributePostInsert(HooksContext hooksContext,
HooksAttributeBean preInsertBean)
called right after a attribute insert
|
void |
attributePreUpdate(HooksContext hooksContext,
HooksAttributeBean preUpdateBean)
called right before a attribute update
|
attributePostCommitDelete, attributePostCommitInsert, attributePostCommitUpdate, attributePostDelete, attributePostUpdate, attributePreDelete, attributePreInsert
public GroupAttributeNameValidationAttrHook()
public void attributePostInsert(HooksContext hooksContext, HooksAttributeBean preInsertBean)
AttributeHooks
public void attributePreUpdate(HooksContext hooksContext, HooksAttributeBean preUpdateBean)
AttributeHooks
attributePreUpdate
in class AttributeHooks
AttributeHooks.attributePreUpdate(HooksContext, HooksAttributeBean)
Copyright © 2016 Internet2. All rights reserved.