Uploaded image for project: 'OpenICF'
  1. OpenICF
  2. OPENICF-1098

MongoDB Connector: Doesn't work with MongoDB 4.0 and above

    Details

      Description

      IDM 7.0 doesn't work with MongoDB 4.0 and above. This errors occur while reconciliation (managedUser_systemMongodbAccount):

      Attribute 'userId' type 'class java.util.UUID' is not supported

      Preconditions for reproduction:

      Mongo 4.0 and above installed and running on default port (27017).

      Steps for reproduction:

      1. Go to MongoDB console with: mongo --port 27017
      2. Type this two commands:
        use admin
        
        db.createUser({  
         user:"myUserAdmin",
         pwd:"Passw0rd",
         roles:[  
          {  
             role:"userAdminAnyDatabase",
             db:"admin"
          }
         ],
         mechanisms:[  
          "SCRAM-SHA-1"
         ]
        })
        
      1. Start IDM as: ./startup.sh -p samples/sync-with-mongodb
      2. Create role and assignment like in step 24.2. in sample guide
      3. Create user in IDM
      4. Reconcile managedUser_systemMongodbAccount mapping

      Expected results:

      Reconciliation should be successful.

      Actual results: 

      Synchronization failed with error:

      Attribute 'userId' type 'class java.util.UUID' is not supported

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gael Gael Allioux
                Reporter:
                vojtech.zamecnik Vojtech Zamecnik [X] (Inactive)
                QA Assignee:
                Son Nguyen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: