Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-1480

Elasticsearch:dynrealm assignment not updated on condition change

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.13, 2.1.4
    • 2.0.14, 2.1.5, 3.0.0
    • core, extensions
    • None

    Description

      1. Enable elasticsearch extension and setup ES indexes, etc.
      2. Login as admin to console
      3. Create a dynamic realm with a condition on an USER attribute
      4. Add or change an attribute to an user in order to match that dynamic realm
      5. Check that on ES dynRealms field of the specific user has been populated with the dynRealm value.
      6. Update dyn realm condition of the dyn realm created at step 3, in order to not match anymore the user at step 4.
      7. Check that on Syncope dynamic realm is no more assigned
      8. On elasticsearch dynRealms field is still populated with the dynamic realm created at step 3.

      This is due to missing event notification in https://github.com/apache/syncope/blob/syncope-2.0.13/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/dao/JPADynRealmDAO.java#L114-L119

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ilgrosso Francesco Chicchiriccò
            andrea.patricelli Andrea Patricelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment