edu.internet2.middleware.grouper.hooks.examples
Class GroupAttributeNameValidationAttrHook
java.lang.Object
edu.internet2.middleware.grouper.hooks.AttributeHooks
edu.internet2.middleware.grouper.hooks.examples.GroupAttributeNameValidationAttrHook
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
GroupAttributeNameValidationAttrHook
public GroupAttributeNameValidationAttrHook()
attributePostInsert
public void attributePostInsert(HooksContext hooksContext,
HooksAttributeBean preInsertBean)
- Description copied from class:
AttributeHooks
- called right after a attribute insert
- Overrides:
attributePostInsert
in class AttributeHooks
- See Also:
AttributeHooks.attributePostInsert(HooksContext, edu.internet2.middleware.grouper.hooks.beans.HooksAttributeBean)
attributePreUpdate
public void attributePreUpdate(HooksContext hooksContext,
HooksAttributeBean preUpdateBean)
- Description copied from class:
AttributeHooks
- called right before a attribute update
- Overrides:
attributePreUpdate
in class AttributeHooks
- See Also:
AttributeHooks.attributePreUpdate(HooksContext, HooksAttributeBean)