Class AMObjectListenerImpl

  • All Implemented Interfaces:
    AMObjectListener, EventListener

    public class AMObjectListenerImpl
    extends Object
    implements AMObjectListener
    Deprecated.
    As of Sun Java System Access Manager 7.1.
    This class provides the implementation for listening to change events in Identity Repository.
    • Method Detail

      • objectChanged

        public void objectChanged​(String name,
                                  int eventType,
                                  Map configMap)
        Deprecated.
        Description copied from interface: AMObjectListener
        This callback method is called by the Identity Repository plugin when backend datastore triggers a notification event
        Specified by:
        objectChanged in interface AMObjectListener
        Parameters:
        name - unique name of the object that has changed
        eventType - type of change i.e., ADD, DELETE, MODIFY
        configMap - Map of configuration information which the AM SDK framework passes to the plugin, and which the plugin should return as is. This information helps the framework to map the object to the universal identifier used as the cache key.
      • objectsChanged

        public void objectsChanged​(String parentName,
                                   int eventType,
                                   Set attrNames,
                                   Map configMap)
        Deprecated.
        Description copied from interface: AMObjectListener
        This callback method is called by the Identity Repository plugin when backend datastore triggers a notification event that results in multiple objects being modified. This callback signifies a change to specific attributes of all members of the organization. This callback should be used to notify modifications of "dynamic" or "virtual" attributes.
        Specified by:
        objectsChanged in interface AMObjectListener
        Parameters:
        parentName - name of the parent whoes "dynamic" attributes attributes have been modified, affecting all its children
        eventType - type of change i.e., ADD, DELETE, MODIFY
        attrNames - attribute names that have been modified
        configMap - Map of configuration information which the AM SDK framework passes to the plugin, and which the plugin should return as is. This information helps the framework to map the object to the universal identifier used as the cache key.
      • permissionsChanged

        public void permissionsChanged​(String orgName,
                                       Map configMap)
        Deprecated.
        Description copied from interface: AMObjectListener
        This callback method is called by the Identity Repository plugin when backend datastore triggers a permission change notification event. This callback signifies a change in the permissions associated with an organization. A change in the permission can impack the permissios of all entities in an organization and all cached entries for that organization will be cleared.
        Specified by:
        permissionsChanged in interface AMObjectListener
        Parameters:
        orgName - unique name of the organization whoes permissions has changed
        configMap - Map of configuration information which the AM SDK framework passes to the plugin, and which the plugin should return as is. This information helps the framework to map the object to the universal identifier used as the cache key.
      • allObjectsChanged

        public void allObjectsChanged()
        Deprecated.
        Description copied from interface: AMObjectListener
        This callback notifies the listener that all object should be marked as "changed" or "dirty". This callback is only used in the case when IdRepo plugin looses the connection to data store and does not know what could have changed in the repository.
        Specified by:
        allObjectsChanged in interface AMObjectListener