Exemplo n.º 1
0
  /**
   * Handles the fact that a dynamic groups becomes a static group.
   *
   * @param hooksContext The hook context.
   * @param postDeleteBean The available Grouper information.
   */
  @Override
  public void attributePostDelete(
      final HooksContext hooksContext, final HooksAttributeBean postDeleteBean) {

    Attribute attribute = postDeleteBean.getAttribute();

    if (LOGGER.isDebugEnabled()) {
      LOGGER.debug(
          "postDelete attribute: " + attribute.getGroupUuid() + ", " + attribute.getAttrName());
    }
  }
Exemplo n.º 2
0
  /**
   * Tests and veto if needed a modification of an attribute that contains the logic definition of a
   * group.
   *
   * @param hooksContext The hook context.
   * @param preUpdateBean The available Grouper information.
   * @see edu.internet2.middleware.grouper.hooks.AttributeHooks#attributePreUpdate(HooksContext,
   *     HooksAttributeBean)
   */
  @Override
  public void attributePreUpdate(
      final HooksContext hooksContext, final HooksAttributeBean preUpdateBean) {

    Attribute attribute = preUpdateBean.getAttribute();

    if (LOGGER.isDebugEnabled()) {
      LOGGER.debug(
          "preUpdate attribute: " + attribute.getAttrName() + ": '" + attribute.getValue() + "'");
    }
  }