Class EventAuditingAttributeChangeListener

    • Constructor Detail

      • EventAuditingAttributeChangeListener

        public EventAuditingAttributeChangeListener​(UserProfile profile,
                                                    EventBuilder event)
        Parameters:
        profile - used to read attribute configuration from
        event - to add detail info into
    • Method Detail

      • onChange

        public void onChange​(String attributeName,
                             UserModel userModel,
                             List<String> oldValue)
        Description copied from interface: AttributeChangeListener
        Method called for each user attribute change.
        Specified by:
        onChange in interface AttributeChangeListener
        Parameters:
        attributeName - of the changed user attribute
        userModel - model where new attribute value is applied already (can be null if attribute is removed)
        oldValue - of the attribute before the change (can be null)