Interface IdEventListener


@SupportedAll public interface IdEventListener

Represents the event listener interface that consumers of this API should implement and register with the IdentityStore to receive notifications.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The method is called when all identities in the repository are changed.
    void
    identityChanged(String universalId)
    This method is called back for all identities that are modified in a repository.
    void
    identityDeleted(String universalId)
    This method is called back for all identities that are deleted from a repository.
    void
    identityRenamed(String universalId)
    This method is called for all identities that are renamed in a repository.
    default void
    identityRenamed(String universalId, String previousUniversalId)
    This method is called for all identities that are renamed in a repository.
  • Method Details

    • identityChanged

      void identityChanged(String universalId)
      This method is called back for all identities that are modified in a repository.
      Parameters:
      universalId - Universal Identifier of the identity.
    • identityDeleted

      void identityDeleted(String universalId)
      This method is called back for all identities that are deleted from a repository. The universal identifier of the identity is passed in as an argument
      Parameters:
      universalId - Univerval Identifier
    • identityRenamed

      void identityRenamed(String universalId)
      This method is called for all identities that are renamed in a repository. The universal identifier of the identity is passed in as an argument
      Parameters:
      universalId - Universal Identifier
    • identityRenamed

      default void identityRenamed(String universalId, String previousUniversalId)
      This method is called for all identities that are renamed in a repository. The previous and current universal identifier of the identity is passed in as an argument.
      Parameters:
      universalId - Universal Identifier
      previousUniversalId - Previous Universal Identifier
    • allIdentitiesChanged

      void allIdentitiesChanged()
      The method is called when all identities in the repository are changed. This could happen due to a organization deletion or permissions change etc